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.
23 lines
385 B
23 lines
385 B
@echo off
|
|
setlocal
|
|
|
|
:: Ask for the encoded message input
|
|
echo Enter the encoded message:
|
|
set /p input=
|
|
|
|
:: Ask for the shift value
|
|
echo.
|
|
set /p shift="Enter the shift value: "
|
|
|
|
:: Pipe the input into nsdecode.exe with the shift value
|
|
echo.
|
|
echo Decoded message [Shift:%shift%]:
|
|
echo.
|
|
echo %input% | nsdecode.exe -s %shift%
|
|
|
|
:: Pause for user to read/copy/paste output
|
|
pause
|
|
|
|
endlocal
|
|
|