In this example, var1 is the name of the variable which stores user input.
@echo off
set /p var1=Enter Info: %=%
echo %var1%
pause
@echo off
set /p var1=Enter Info: %=%
echo %var1%
pause
The technical experiences of a Microsoft Windows network engineer. Network Administration/Technical Support/Fixes/Solutions for Microsoft Windows Server, Windows Client and Windows Applications.
If you found this information helpful, please consider linking to Eugene Computer Repair.
Donations are greatly appreciated.
Subscribe to: Posts (Atom)