Skip to content
⌘ NSIS Forum Archive

get full path name

4 posts

mamilo#

get full path name

Hi,

I want to get the full path name of $INSDIR as C:bla\bla\
I have used "GetFullPathName $0 $INSDIR" but it doesn't work.
Thanks for any help

mamilo
glory_man#
Work fine for me.
Are you sure your path exist?
If the path portion of the parameter is not found, the error flag will be set and $x will be empty.
Is this line from script?
GetFullPathName $0 $INSDIR
mamilo#
yes "GetFullPathName $0 $INSDIR" is from script. When I use
"GetFullPathName $0 $INSDIR\somedirectory" I get "\somedirectory" as result.