Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Passing Literal in CreateShortCut (http://forums.winamp.com/showthread.php?t=232877)

boomerm3 9th December 2005 15:13

Passing Literal in CreateShortCut
 
I have the following line in my script:

CreateShortCut "$SMSPROGRAMS\Present\Show.lnk" "$INSTDIR\PPTView.exe" "My Show.ppt"

When the link is parsed by the viewer program, it sees two items (My and Show) rather than the file name 'My Show'. I have tried single quotes, double quotes, no quotes. Nothing helps. I know - if I didn't have a space in the filename... Out of my control

I need the link to reflect "PPTView.exe My Show"

How can I do this????

peter

deguix 9th December 2005 15:24

Did you try this below?

code:
CreateShortCut "$SMSPROGRAMS\Present\Show.lnk" "$INSTDIR\PPTView.exe" '"My Show.ppt"'

BoomerMe 9th December 2005 15:49

You just saved my weekend!

Thanks,

peter


All times are GMT. The time now is 05:50.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.