You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
numberstation/winbatch/decode-scan.bat

21 lines
359 B

@echo off
setlocal
:: Line break before asking for input
echo.
echo Enter the encoded message:
set /p input=
:: Loop through shift values from 0 to 36 and decode with each value
for /l %%s in (0,1,36) do (
echo Decoded message [Shift:%%s]:
echo %input% | nsdecode.exe -s %%s
echo.
)
:: Pause for user to read/copy/paste output
pause
endlocal