input variables
Posted: 12 Aug 2012 12:47
Hi,
Just wondering if there is a way to have input from a command line to a script for when it is run
so say in the batch file there is a SET /P option=select option:
but is there a way that the variable can be set when the script is run so something like:
C:\batfile.bat 2
Just wondering if there is a way to have input from a command line to a script for when it is run
so say in the batch file there is a SET /P option=select option:
but is there a way that the variable can be set when the script is run so something like:
C:\batfile.bat 2