Sergey
12-27-2010, 02:39 AM
Hello. Run .exe from
"c:\folder"
%CURDIR% return c:\folder
if run from
"c:\my folder"
return c:\
hmm?
linder
12-27-2010, 03:44 AM
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
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.