using drive label instead of letter

how to access usb by label instead of drive letter
RoyDBairdAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ady FootSharePoint ConsultantCommented:
In what context?  You can mount the external USB drive as a path instead of a drive letter.  Look at this guide:
http://www.mydigitallife.info/2008/02/19/how-to-mount-and-access-new-partition-volume-or-drive-as-folder-path-in-windows/
0
RoyDBairdAuthor Commented:
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.

0
Ady FootSharePoint ConsultantCommented:
Sorry but I really don't know anything about achieving what you're asking...
0
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

David Johnson, CD, MVPOwnerCommented:
fyi microsoft has disabled autorun in writeable  media i.e. flash drives
0
RoyDBairdAuthor Commented:
I ended up writing a 2 line script to get the current drive letter and start the program from there.

Thanks,
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Steven CarnahanNetwork ManagerCommented:
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

0
RoyDBairdAuthor Commented:
wrote a small script
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.