Archive: Creating shortcuts with parameters


Creating shortcuts with parameters

CreateShortCut "$SMPROGRAMS\USBsyncer v0.3\Synchronize and quit.lnk" "$INSTDIR\USBsyncer.exe /syncandquit" "$INSTDIR" "$INSTDIR\USBsyncer.exe" 0
As you can see, this doesn't work. How can I make this work?

I want the shortcut to point to:
"(Install directory)\USBsyncer.exe" /syncandquit

CreateShortCut "$SMPROGRAMS\USBsyncer v0.3\Synchronize and quit.lnk" \
"$INSTDIR\USBsyncer.exe" "/syncandquit" "$INSTDIR\USBsyncer.exe" 0

Whoops. Fixed it.