gai-jin Posted June 30, 2004 Posted June 30, 2004 I want to use some programs on my autoinstall cd which can be copied directly w/o a setup program. (i.e. trillian)I also want to place shortcuts in the start menu for these.Is there some way to do this with either a variable for system drive or with the shortcut being created during setup so that it will point to %systemdrive%\program files\trillian\trillian.exe ? ThanksGai-jin
jrzycrim Posted June 30, 2004 Posted June 30, 2004 You can use the %systemdrive% variable in the shortcut target. Just make your shortcuts and copy them over during installation.
XtremeMaC Posted June 30, 2004 Posted June 30, 2004 well there is a shortcut.exe utility somewhere along the board.I just saw it last week. try doing a search for it.its been discussed several times...
Bâshrat the Sneaky Posted June 30, 2004 Posted June 30, 2004 @jrzycrim: That's NOT possible! Just give it a try...here is this shortcut.exe:Shortcut.zip
GreenMachine Posted June 30, 2004 Posted June 30, 2004 @jrzycrim: That's NOT possible! Just give it a try...here is this shortcut.exe:Au contraire, mon chere ...I hate to contradict you ... but %SYSTEMDRIVE% in the shortcut target has always worked for me ... Here is the target directory from a desktop shortcut:%systemdrive%\Windows\regedit.exe(cut and pasted)
Bâshrat the Sneaky Posted July 1, 2004 Posted July 1, 2004 @jrzycrim: That's NOT possible! Just give it a try...here is this shortcut.exe:Au contraire, mon chere ...I hate to contradict you ... but %SYSTEMDRIVE% in the shortcut target has always worked for me ... Here is the target directory from a desktop shortcut:%systemdrive%\Windows\regedit.exe(cut and pasted) Well... I guess I was wrong then...But %programfiles% definetely does NOT work!!! I guess that's why I thought %systemdrive% wouldn't work either....
sleepnmojo Posted July 1, 2004 Posted July 1, 2004 But %programfiles% definetely does NOT work!!! I guess that's why I thought %systemdrive% wouldn't work either....%PROGRAMFILES% works too.target: %PROGRAMFILES%\Mozilla\Firefox\firefox.exeStart in: %PROGRAMFILES%\Mozilla\Firefox
Bâshrat the Sneaky Posted July 1, 2004 Posted July 1, 2004 But %programfiles% definetely does NOT work!!! I guess that's why I thought %systemdrive% wouldn't work either....%PROGRAMFILES% works too.target: %PROGRAMFILES%\Mozilla\Firefox\firefox.exeStart in: %PROGRAMFILES%\Mozilla\Firefox WTF over here it DIDN'T work!!!!!!!!! Well then I should be glad cause then one of my problems *would* be solved...
my2001 Posted July 1, 2004 Posted July 1, 2004 Just to clarify it:_Every_ system variable works.P.S.: Don't get upset b/c of this.
jrzycrim Posted July 1, 2004 Posted July 1, 2004 I'm guessing any system variable that contains spaces when resolved would require the full path to be quoted.
Alanoll Posted July 1, 2004 Posted July 1, 2004 not if it's a shortcut. and Windows puts quotes around it in it's own usually.Man, that's gotta stink for Bâshrat the Sneaky. Proven wrong twice. No hard feelings I hope. Cudos on the posting of the shortcut.exe though. I'm sure some will find it usefull, untill it is lost to the pages, and most be reattached again I've never had problems with variables, but why use %systemdrive%\Program Files\Trillian\trillian.exe instead of %ProgramFiles\Trillian\trillian.exe?
Bâshrat the Sneaky Posted July 2, 2004 Posted July 2, 2004 not if it's a shortcut. and Windows puts quotes around it in it's own usually.Man, that's gotta stink for Bâshrat the Sneaky. Proven wrong twice. No hard feelings I hope. Cudos on the posting of the shortcut.exe though. I'm sure some will find it usefull, untill it is lost to the pages, and most be reattached again I've never had problems with variables, but why use %systemdrive%\Program Files\Trillian\trillian.exe instead of %ProgramFiles\Trillian\trillian.exe?No, I haven't got any hard feelings.But those stupid QUOTES where the problem!!! Windows DIDN'T add them for me, as I edited some shortcuts... Now with those quotes it works!Thank you guys for clearing this out for me and sorry for making twice such a huge mistake....
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now