Quote:
Originally Posted by coderwolf
It seems the following code just cuts off the part after the -conf parameter. I am guessing that the $\" is actually being taken as a parameter break for CreateShortcut instead of passing it to the final Shortcut parameter.
It is also cutting off the "-" part. I am not sure why on this one.
|
Not quite so sure why, but it appears that creating a Var for it and building the string in a StrCpy worked.
Quote:
StrCpy $ShortcutParameter "-conf $\"$InstDir\DosConfig.conf$\""
CreateShortCut $InstDir\Prog.lnk "$PROGRAMFILES\DOS\DOSEmu.exe" "$ShortcutParameter"
|