Archive: CreateShortcut with startup path


CreateShortcut with startup path
Hello,

I am a newbie in NSIS.
Would you pelase to teach me how I can create a short cut with a startup path for it?


For example,

I am going to create a shortcut test.lnk in $DESKTOP which link to "c:\test\test.bat".
How can I define the 'startup path of the test.lnk to "c:\test" ????


Best regards,
Eric


SetOutPath "C:\test"
<Create Shortcut>
SetOutPath "back to where-ever"

This is explained in the manual: http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.3.4 (The term you're looking for is 'working directory'.)