Hello. Run .exe from
"c:\folder"
%CURDIR% return c:\folder
if run from
"c:\my folder"
return c:\
hmm?
Hello. Run .exe from
"c:\folder"
%CURDIR% return c:\folder
if run from
"c:\my folder"
return c:\
hmm?
Sergey,
%CURDIR% holds the value that the GetCurrentDirectory() API returns at application startup. Whatever "current directory" might be at that point!
I would suggest to use the "Get System Info (Installer Path Name)" script function if you would like to retrieve the full pathname, excluding the file name, of the installation currently executing.
Hope this helps.
Friedrich
thanks!
There are currently 1 users browsing this thread. (0 members and 1 guests)