Prompt for input in Windows CMD batch script
Occasionally you may be writing a DOS Windows CMD batch program and want input from the user at run time. For just such an occasion, you can use the set /p command. In this example below, we ask the user to enter an IP address, then we use the captured input to set the next hop for each of the …
Read more