@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