Page 1 of 1
The %PROGRAMFILES% variable is incorrectly recognized
Posted: 09 Sep 2023 11:40
by KLASS
open "%PROGRAMFILES%\Win32calc\win32calc.exe"
And the result
Re: The %PROGRAMFILES% variable is incorrectly recognized
Posted: 09 Sep 2023 19:37
by admin
If you want to go to C:\Program Files, use %ProgramW6432%.
Re: The %PROGRAMFILES% variable is incorrectly recognized
Posted: 09 Sep 2023 19:56
by KLASS
I didn't know that, thank you.
Re: The %PROGRAMFILES% variable is incorrectly recognized
Posted: 09 Sep 2023 20:19
by admin
%PROGRAMFILES% is "smart" and resolves depending on the bitness of the calling process.