You are here

Get current drive letter

6 posts / 0 new
Last post
Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Get current drive letter

Does anyone know how to get the current drive letter with NSIS?

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 11 years 2 months ago
Developer
Joined: 2005-12-10 15:22
IIRC,

${GetRoot} "$EXEDIR" $variable

Yours

Steve Lamerton

My Blog

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
Thanks

How do I include the GetRoot Funktion?
As a !Include "GetRoot.nsh"?
“Science is the belief in the ignorance of the experts” - Richard P. Feynman

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 1 month ago
Joined: 2006-01-06 21:27
I'm fairly sure that

it's !include "FileFunc.nsh"
----
Ryan McCue.
Blog.
So all that Airbus-delay trouble over here in Europe is because of YOU!
Simeon.

"If you're not part of the solution, you're part of the precipitate."

jwyanze
jwyanze's picture
Offline
Last seen: 10 years 10 months ago
Joined: 2007-08-08 00:44
thanks

i need that

Never curse the alligator till you done cross the bridge. Wink

digitxp
digitxp's picture
Offline
Last seen: 13 years 2 months ago
Joined: 2007-11-03 18:33
Actually,

I've seen people do
StrCpy $EXEDIR $DRIVE 1
to save space.

Insert original signature here with Greasemonkey Script.

Log in or register to post comments