Command promt ignoring PATH variable if opened from XYPlorer
Posted: 12 Apr 2016 15:25
Hello,
I don't understand why but there is a problem if I open a command prompt (cmd.exe) with the 'Open Command Prompt Here' button:
It seems the command prompt opened by XYPlorer cannot find .bat or .exe files that are in folders referenced by my system PATH environment variable.
A good example is the java.exe which is located in C:\Windows\System32\java.exe.
If I open a command prompt directly from Windows start menu I can call java -version correctly:
If I open a command prompt from XYPlorer, java -version does not work as java.exe cannot be found.
I get: 'java' is not recognized as an internal or external command.
If I perform a where java in a normal command prompt, it display its path:
C:\Users\maol>where java
C:\Windows\System32\java.exe
When the command prompt is opened from XYPlorer it cannot find anything.
OS: Windows 10 Pro
Xplorer version: 16.50.0200
I don't understand why but there is a problem if I open a command prompt (cmd.exe) with the 'Open Command Prompt Here' button:
It seems the command prompt opened by XYPlorer cannot find .bat or .exe files that are in folders referenced by my system PATH environment variable.
A good example is the java.exe which is located in C:\Windows\System32\java.exe.
If I open a command prompt directly from Windows start menu I can call java -version correctly:
If I open a command prompt from XYPlorer, java -version does not work as java.exe cannot be found.
I get: 'java' is not recognized as an internal or external command.
If I perform a where java in a normal command prompt, it display its path:
C:\Users\maol>where java
C:\Windows\System32\java.exe
When the command prompt is opened from XYPlorer it cannot find anything.
OS: Windows 10 Pro
Xplorer version: 16.50.0200


