ameer
13th August 2007 13:06 UTC
Usage of / in Shortcuts
Friends,
for my application I would like to use the shortcuts as like below
"c:\Program Files\My App.exe / noservice"
Code:
CreateShortCut "$SMPROGRAMS\App\App1.lnk" "$INSTDIR\App\App.exe /noservice"
But I am getting the shortcut like below
"c:\Program Files\My App.exe noservice"
I am not getting the / in my shortcut.
Please do the needful.
Anders
13th August 2007 13:38 UTC
program arguments is in its own parameter to CreateShortcut, read the docs
bl4d3
13th August 2007 20:38 UTC
i use this:
CreateShortCut "$SMPROGRAMS\${APPNAME}\Program.lnk" "C:\Program Files\Appname\Program.exe"
\ "-something /somethingelse" "C:\Program Files\Appname\app_icon.ico" 0 SW_SHOWNORMAL
\ "" "Name shown in windows balloon"