Forum Home
Press F1
 
Thread ID: 54215 2005-02-07 02:21:00 Shortcut to CD rusty_knifenz (4065) Press F1
Post ID Timestamp Content User
322251 2005-02-07 02:21:00 I want to burn a CD with a shortcut in the CD's root directory pointing to a program in a folder on the cd, however, when I create the shortcut to burn to cd (by right clicking on the program I want the shortcut for), the shortcut still points to the folder on my hard drive which originally contained the program, instead of the copy on the CD.

I know that's really confusing, but basically, the shortcut on CD points to C:, when I want it to always point to the CD-Rom drive (no matter what letter that drive may be). How can I create the shortcut to do this?
rusty_knifenz (4065)
322252 2005-02-07 03:23:00 I don't believe you can do that with windows.

Instead, make some sort of cmd/script executable that that just runs the program.

For example in AutoIt 3 scripting it would be this

Run(@ScriptDir & "\subdirectory_name\program_name.exe");

with program_name and subdirectory_name substituted as needed.
You can then make an executable and just give it the icon of a shortcut

autoit (www.hiddensoft.com)

You could use vbscript or something too but the adavntage of the autoit executable is that is should work on all windows versions.
gibler (49)
322253 2005-02-07 03:40:00 Hi, I dont think you can either as using \FolderName automatically gets changes to C:\FolderName if you happened to create it on the C drive. You should perhaps create an HTML menu with hyperlinks that just have the slahes or run a batch file or script.

A simple batch file could be just a one liner ...
start explorer.exe "\FolderName"
Parry (5696)
1