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

Squirre1 is offline   Reply With Quote
Old 20th January 2011, 08:05   #3
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
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'.)
MSG is offline   Reply With Quote
Reply
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