using drive label instead of letter

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

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

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:
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.

Ady FootSharePoint ConsultantCommented:
Sorry but I really don't know anything about achieving what you're asking...
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
RoyDBairdAuthor Commented:
I ended up writing a 2 line script to get the current drive letter and start the program from there.


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:

RoyDBairdAuthor Commented:
wrote a small script
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.