Mount drive as local folder??

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Cromzinc
Posts: 1
Joined: 09 Sep 2009 22:48

Mount drive as local folder??

#1 Post by Cromzinc » 09 Sep 2009 23:00

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

Post Reply