Does anyone know how to get the current drive letter with NSIS?
New: StressMyPC (Dec 10, 2025), Platform 30.1.3 (Nov 17, 2025)
1,400+ portable packages, 1.2 billion downloads
We're close to breaking even this year, please donate today
December 2025 Site Slowdown Being Addressed
${GetRoot} "$EXEDIR" $variable
Yours
Steve Lamerton
My Blog
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
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."
i need that
Never curse the alligator till you done cross the bridge.
I've seen people do
StrCpy $EXEDIR $DRIVE 1to save space.
Insert original signature here with Greasemonkey Script.