@echo off setlocal :: Ask for the shift value set /p shift="Enter the shift value: " :: Ask for the group size set /p gsize="Enter the number group size: " :: MULTI-LINE INPUT NOT SUPPORTED BY BATCH :: :: Ask for the line size :: set /p lsize="Enter the number of groups per line: " :: Ask for the message input echo. echo Enter the message to encode and process: set /p input= :: Dress up output and pass information to nsencode echo. echo Encoded message: echo. :: echo %input% | nsencode.exe -s %shift% -g %gsize% -l %lsize% echo %input% | nsencode.exe -s %shift% -g %gsize% :: Pause for user to read/copy/paste output pause endlocal