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.
31 lines
645 B
31 lines
645 B
@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
|
|
|