0

I'm trying to write a batch file that copies a folder from my flash drive to the desktop. I want the batch file to achieve this on any pc in my college.

the command wmic logicaldisk get caption,description allows to me to find out which drive letter has been assigned to my removable disk.

I need to somehow set the drive letter of my usb disk as a variable.

Any ideas?

1
0

I think this thread is the solution you are looking for : https://superuser.com/a/139935/395792

Especially the 2nd part of the post.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.