TestScript.cmd
@ECHO OFF
SET /P Name=What is your name:
SET /P Project=Specify Project?:
ECHO Name=%Name%
ECHO Project=%Project%
PAUSE
:END
ECHO %date% %time%
exit /b %exitstatus%
Result
What is your name: John
Specify Project?: 123
Name=John
Project=123
Press any key to continue . . .
Comments