Computer Hope
Microsoft => Microsoft DOS => Topic started by: zast on September 08, 2005, 03:32:28 AM
-
Hi, hope someone can help me with this problem: which batch command must I use so the program asks for input (I want to type in the letter of the mapped drive) and uses it to copy files to the specified location - e.g.: I plug in an USB stick (drive is mapped and provided with a drive letter), run the batch file, give input about the drive letter, program uses the correct path.
Thanks for any help - zast
-
It would have been helpful had you mentioned your OS. In general, for Win9x machines, use choice. For NT machines, use set /p var=prompt. There are also 3rd party utilities (INPUT or ANSWER) that you might find on the Net.
Hope this helps. 8)
-
Sorry about the poor information - I'll try harder next time. But still I've managed ;D
Thanx a lot - zast