Archive: Usage of / in Shortcuts


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.


program arguments is in its own parameter to CreateShortcut, read the docs


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"