How to implement BAT decryption tool
This article is about how to implement the BAT decryption tool. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Echo offmode con: cols=80 lines=25:indexcolor 27clsecho ╭─ ──╮ echo │ │ echo ╭─┤ BAT decryption tools ├─╮ echo │ │ │ │ echo │ ╰─ ────╯ │ echo │ │ echo │ │ echo │ this tool is used to decrypt encrypted batches that confuse text encoding types! │ echo │ │ echo │ fill in the batches that need to be decrypted below and press enter. │ echo │ │ echo │ recommends dragging batch files to be decrypted directly to this window for release. After successful decryption, │ echo │ │ echo │ will generate a file in the format of "new_ file name to be decrypted. File suffix" │ echo │. │ echo │ │ echo │ Note: if there is a file with "new_ file name to be decrypted. File suffix name" in this directory, │ echo │ will be replaced. │ echo │ │ echo │ │ echo ╰─── ──╯ echo.set route=% Cd%set ravel=set / p ravel= Please enter the batch to be decrypted: set "ravel=%ravel:" =% "if / I"% ravel:~-4% "= =" .bat "if exist"% ravel% "goto goif / I"% ravel:~-4% "= =" .cmd "if exist"% ravel% "goto goclsecho ╭─╮ echo ╭─ ┤ document error ├─╮ echo │ ╰─╯ │ echo │ │ echo │ specified file does not exist or the file is not a batch type! │ echo │ │ echo │ press any key to re-enter... │ echo │ │ echo ╰─ ─╯ echo.echo.echo press any key to re-enter... pause > nulgoto index:gofor / f "tokens=*"% c in ("% ravel%") do (cd / d "% ~ dpc" if exist "% route%\ new_%%~nxc" attrib-s-h-r-a "% route%\ new_%%~nxc" Echo author:pengfei@www.cn-dos.net > "% route%\ new_%%~nxc" for / f "tokens=*"% I in (% ~ nxc) do (echo% I > > "% route%\ new_%%~nxc") clsecho ╭─╮ echo ╭─┤ decryption into ├─── ─╮ echo │ ╰─╯ │ echo │ │ echo │ Congrats Batch decryption succeeded! │ echo │ │ echo ╰─ ─╯ echo.echo.echo press any key to exit... pause > nulexit Thank you for reading! On "how to achieve BAT decryption tool" this article is shared here, I hope the above content can be of some help to you, so that you can learn more knowledge, if you think the article is good, you can share it out for more people to see it!