RoyDBaird
asked on
using drive label instead of letter
how to access usb by label instead of drive letter
ASKER
Sorry, I hit the Enter key too soon.
I have an application that runs from a USB.
What I want to do is be able to have a shortcut or script that will run that application, but for a shortcut I need the drive letter, which as we all know, could be anything from A-Z. I have not seen a method to use the drive name, (which I set in the autorun.inf) as the path. The solution cannot include any steps for the user. Must all be automated. I may have to write a script that the shortcut runs that in turn runs the application. Maybe the script can get the drive letter and substitute it in a string that executes the applicaiton.
I have an application that runs from a USB.
What I want to do is be able to have a shortcut or script that will run that application, but for a shortcut I need the drive letter, which as we all know, could be anything from A-Z. I have not seen a method to use the drive name, (which I set in the autorun.inf) as the path. The solution cannot include any steps for the user. Must all be automated. I may have to write a script that the shortcut runs that in turn runs the application. Maybe the script can get the drive letter and substitute it in a string that executes the applicaiton.
Sorry but I really don't know anything about achieving what you're asking...
fyi microsoft has disabled autorun in writeable media i.e. flash drives
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I am not sure if this covers what you asked but take a look at: http://www.samlogic.net/articles/autorun-usb-flash-drive.htm
ASKER
wrote a small script
http://www.mydigitallife.info/2008/02/19/how-to-mount-and-access-new-partition-volume-or-drive-as-folder-path-in-windows/