@echo off
echo %PROGRAMFILES(x86)%
echo %PROGRAMFILES%
When I run this batch file from MSDOS box I get
C:\Program Files (x86)
C:\Program Files
If I run it from NPPEXEC I get
C:\Program Files (x86)
C:\Program Files (x86)
Something is wrong and I cannot figure what.
Please advice.
Best regards,
Marko
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
test.bat:
@echo off
echo %PROGRAMFILES(x86)%
echo %PROGRAMFILES%
When I run this batch file from MSDOS box I get
C:\Program Files (x86)
C:\Program Files
If I run it from NPPEXEC I get
C:\Program Files (x86)
C:\Program Files (x86)
Something is wrong and I cannot figure what.
Please advice.
Best regards,
Marko
Notepad++ and NppExec are 32-bit. Therefore %PROGRAMFILES% for them is the same as %PROGRAMFILES(x86)%.
For example, see explanations here: http://serverfault.com/questions/413320/programfiles-differences-on-64bit-windows