Relative path shortcut possible?

  • Thread starter Thread starter Vincent W.S. Tam
  • Start date Start date
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
 
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.
 
Back
Top