What is P in batch file?

What is P in batch file?
Answer
Variables from user input
The “set” command can also accept input from a user as the value for a variable. The switch “/p” is used for this purpose. A batch file will wait for the user to enter a value after the statement set /p new_variable= When the user has entered the value, the script will continue.
 

Tìm kiếm

Back
Top