Shortcut Path

J

John Gregory

Is there a way to reference the active drive with a shortcut?

I am trying to put shortcuts onto a USB flash drive to access files in lower
subdirectories. The current method of making a shortcut depends upon the
assigned drive letter. However, the drive letter changes depending upon
which computer I use.

For other shortcuts, sometimes they use %SystemRoot%\ to indicate the
Windows directory. Is there an equivalent way to put in a shorcut path to
reference the currently assigned drive?

Example:
Normal shortcut path "E:\temp\file.exe" (works for E:)
Generic shortcut path "???\temp\file.exe" (works for any drive)
 
P

Pegasus \(MVP\)

John Gregory said:
Is there a way to reference the active drive with a shortcut?

I am trying to put shortcuts onto a USB flash drive to access files in
lower
subdirectories. The current method of making a shortcut depends upon the
assigned drive letter. However, the drive letter changes depending upon
which computer I use.

For other shortcuts, sometimes they use %SystemRoot%\ to indicate the
Windows directory. Is there an equivalent way to put in a shorcut path to
reference the currently assigned drive?

Example:
Normal shortcut path "E:\temp\file.exe" (works for E:)
Generic shortcut path "???\temp\file.exe" (works for any drive)

You need to maintain the same drive letter. Perhaps USBDLM might help - see
here: http://www.uwe-sieber.de/usbdlm_e.html.
 
T

Terry R.

The date and time was Friday, February 13, 2009 8:00:01 AM, and on a
whim, John Gregory pounded out on the keyboard:
Is there a way to reference the active drive with a shortcut?

I am trying to put shortcuts onto a USB flash drive to access files in lower
subdirectories. The current method of making a shortcut depends upon the
assigned drive letter. However, the drive letter changes depending upon
which computer I use.

For other shortcuts, sometimes they use %SystemRoot%\ to indicate the
Windows directory. Is there an equivalent way to put in a shorcut path to
reference the currently assigned drive?

Example:
Normal shortcut path "E:\temp\file.exe" (works for E:)
Generic shortcut path "???\temp\file.exe" (works for any drive)

Hi John,

Didn't you get this resolved already?
http://www.technologyquestions.com/technology/windows-xp/211241-removable-drive-letter-mapping.html


Terry R.
 
J

John Gregory

I resolved this for use on a computers where the USB drive is regularly used.
However this issue is for when I use the drive in other computers when
travelling. It would be convenient to list the shortcuts on the root of the
drive rather than going through multple directories to get to the files.

Many times I have to give the drive to another person for including in a
presentation. In this case I have to tell them where the file is located -
which can be time consuming.

I need to keep the same directory structure to copy the files back and forth.
 
J

John Gregory

Is there something like this I can install on the USB drive itself to force
letter assignment in multiple computers?
 
P

Pegasus \(MVP\)

I'm not aware of any such tool.


John Gregory said:
Is there something like this I can install on the USB drive itself to
force
letter assignment in multiple computers?
 
T

Terry R.

The date and time was Friday, February 13, 2009 8:42:02 AM, and on a
whim, John Gregory pounded out on the keyboard:
I resolved this for use on a computers where the USB drive is regularly used.
However this issue is for when I use the drive in other computers when
travelling. It would be convenient to list the shortcuts on the root of the
drive rather than going through multple directories to get to the files.

Many times I have to give the drive to another person for including in a
presentation. In this case I have to tell them where the file is located -
which can be time consuming.

I need to keep the same directory structure to copy the files back and forth.

That's easy. Instead of using the drive letter, just use a period.

If your program is wp.exe in the wp folder off the root, the shortcut in
the root would be

..\wp\wp.exe

As long as you're launching the shortcuts while in the root folder of
the flash drive, it should work. On any other drive, it will fail.

Terry R.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top