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.
Batch to prompt user for input
Name: Michael Date: March 3, 2000 at 10:19:58 Pacific
Comment:
Hello,
I've been looking around on the web, to little avail. My need is to have a batch file prompt the user for input (which will be a date in the format of YYYYMMDD), and put the response in a variable, so I can create a directory and do other stuff. I've checked help files, and read tons of posts in the group, and followed links to sites, but still no answer found. I am starting to think that this is not possible in pure batch (without any external utils). C an someone help with this? Thanks, Michael
Name: bundat Date: March 5, 2000 at 09:56:17 Pacific
Reply:
you can't do that in pure batch. you need some other helper files to achive it. goto garbo.uwasa.fi and d/l timo salmi's tsbat##.zip batch files techniques.
0
Response Number 2
Name: Michael Date: March 6, 2000 at 09:05:50 Pacific
Summary: I need to prompt a user for a 2 digit number in a batch file, and not from the command line. The choice command only supports 1 alpha/numeric char. I then need to pass this 2 digit number(environmen...
Summary: So, you need one of those parameters from the parameter-file to be dynamic, not static, is that it? You want a batch file which you will invoke passing the parameter, and it will get the parameter-fil...
Summary: Hi there everyone! I'm posting this to inform that I've developed the ultimate method to get user input by batch. This is it: www.secretdoom.hpg.com.br/us/faq.html#input.bat I'm talking about a method...