Page 1 of 1

Mount drive as local folder??

Posted: 09 Sep 2009 23:00
by Cromzinc
Okay here is what im doing.

Making a batch file to mount my usb drive as a local dir. The batch file will be on the usb drive. I know the cmd to do this, the issue is the its a usb drive, so every time I plug into different pc or at different times the drives guid and drive letter will change.

So how can I make the batch file find the guid of the drive its on, and use it to execute the mountvol command?

wow, I hope this can be done.

Any help is greatly appreciated.

Thanks

Cromzinc