Solved

Relative path shortcuts

Posted on 2000-03-12
1
3,346 Views
Last Modified: 2013-12-29
Can someone please tell me how can I create relative path shortcuts (eg. refer to a file in parent directory regardless of the drive the folder is on).
I've tried to create a shortcut pointing to ".\abc.exe", however, Windows changed it to absolute shortcut immediately, ie. "c:\test\abc.exe"
Thanks.
0
Comment
Question by:nyt
1 Comment
 

Accepted Solution

by:
bdemarzo earned 24 total points
ID: 2613710
Unfortunately, you can't - shortcuts always point to absoltue paths. However, instead of a shortcut, you can make a short BATch file that opens the file you want.

Create a new text file ending in .BAT (say, "shortcut.bat"). Type one line in the file - the line being the relative path to the executable you want to run.

This still _could_ fail, if your system is set up with a default command prompt directory... but that's a separate problem.
0

Featured Post

Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Join & Write a Comment

Several part series to implement Internet Explorer 11 Enterprise Mode
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now