Old 20th January 2011, 06:23   #1
Junior Member
Join Date: Apr 2010
Posts: 2
Angry CreateShortcut with startup path


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,
ericmacau is offline   Reply With Quote
Old 20th January 2011, 06:36   #2
Join Date: Aug 2001
Posts: 55
Send a message via ICQ to Squirre1
SetOutPath "C:\test"
<Create Shortcut>
SetOutPath "back to where-ever"

Squirre1 is offline   Reply With Quote
Old 20th January 2011, 08:05   #3
Major Dude
Join Date: Oct 2006
Posts: 1,892
This is explained in the manual: http://nsis.sourceforge.net/Docs/Chapter4.html# (The term you're looking for is 'working directory'.)
MSG is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump