Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Batch asking for drive letter,...  (Read 2597 times)

0 Members and 1 Guest are viewing this topic.

zast

  • Guest
Batch asking for drive letter,...
« 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

Sidewinder



    Guru

    Thanked: 139
  • Experience: Familiar
  • OS: Windows 10
Re: Batch asking for drive letter,...
« Reply #1 on: September 08, 2005, 05:22:59 AM »
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)
The true sign of intelligence is not knowledge but imagination.

-- Albert Einstein

zast

  • Guest
Re: Batch asking for drive letter,...
« Reply #2 on: September 08, 2005, 07:59:23 AM »
Sorry about the poor information - I'll try harder next time. But still I've managed  ;D
Thanx a lot - zast