Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Prompt for Variable in Batch File
Name: tolksee Date: April 1, 2005 at 07:35:34 Pacific OS: Win2k, NT CPU/Ram: P4 / 512
Comment:
Hi,
I have a batch file that runs a command with parameters. The batch file contains just one line - EG:
program.exe -uUsername -pPassword -cConnection
I would like to have the user prompted to enter thier username and passoword when they run the batch file, rather than have a USername & PAssword hard-coded in the batch file. How can I do this?
Summary: Hey, I'm relatively new to batch file programing and I am tearing my hair out over this. I want to be able to set the results of a command as a variable. For example be able to have the results of VER...
Summary: I have a batch file which displays a list of databases and allows the user to choose the one that they wish to start by typing in the name of the database (I use a "set /p" command to get the user inp...
Summary: Hi These subroutines may be useful for calculating date issues in Batch File coding. The sub-rountines use variables a-f so best to not to use them in your calling code. Main varables returned are... ...