Relative path shortcut possible?

V

Vincent W.S. Tam

Dear all,

Can we actually create a relative path shortcut so that we can refer the
file as "folder\filename.mp3" instead of "d:\folder\filename.mp3"?
I'd like to burn shortcuts into CD-R and retain the shortcut even it moves
to another machine with different drive letter.


Thank you!
Vincent
 
T

Thorsten Matzner

Vincent W.S. Tam said:
Can we actually create a relative path shortcut so that we can refer the
file as "folder\filename.mp3" instead of "d:\folder\filename.mp3"?
I'd like to burn shortcuts into CD-R and retain the shortcut even it moves
to another machine with different drive letter.

In the Control Panel > System > Advanced > Environment variables
create a new variable
folder
with the value
D:\FOLDER
Now you can refer to the folder with
%FOLDER%\
from all command-lines.
 

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