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 . . .
Last modified: August 14, 2020

Author

Comments

Write a Reply or Comment