SoFunction
Updated on 2025-04-07

BAT decryption tool

@echo off
mode con: cols=80 lines=25
:index
color 27
cls
echo                    ╭──────────── ──╮
echo                    │                             │
echo   ╭─────────────────────────────────────────────────────────────────────────────────�
echo    │              │                             │                  │
echo    │              ╰────────── ────╯                  │
echo    │                                                                 │
echo    │                                                                 │
echo    │    This tool is used to decrypt encrypted batches that confuses text encoding types!                 │
echo    │                                                                 │
echo    │   Fill in the batch process that needs to be decrypted and press Enter.
echo    │                                                                 │
echo    │   It is recommended to drag the batch file to be decrypted directly to this window to release.                                             �
echo    │                                                                 │
echo    │    After the decryption is successful, "new_file name to be decrypted. File suffix name" will be generated in this program directory │
echo   │    Format File.                                                                                                                                                                                                                                                     �
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 process to decrypt:
set "ravel=%ravel:"=%"
if /i "%ravel:~-4%"==".bat" if exist "%ravel%" goto go
if /i "%ravel:~-4%"==".cmd" if exist "%ravel%" goto go
cls
echo                        ╭──────────╮
echo        ╭───────────────────────────────────�
echo        │              ╰──────────╯                   │
echo        │                                                         │
echo         │                                                    �
echo        │                                                         │
echo                                                                                                                              �
echo        │                                                         │
echo        ╰───────────────── ───────────╯
echo.
echo.
echo Press any key to re-enter...
pause >nul
goto index