1.

Solve : Batch asking for drive letter,...?

Answer»

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. Sorry about the poor information - I'll TRY harder next time. But still I've managed
Thanx a lot - zast



Discussion

No Comment Found