I'm struggling with a following problem. I can't seem to force a Total Commander to honor my Window's PATH environment variable, when using TC's built-in command prompt.
I have 3 instances of bash executable installed, provided by 3 different entities (Cygwin, Windows Subsystem for Linux and git-bash). When I open Window's Command Prompt, I observe following behavior:
Code: Select all
> where bash
C:\cygwin64\bin\bash.exe
C:\Windows\System32\bash.exe
C:\Program Files\Git\usr\bin\bash.exe
> bash
(cygwin's bash opens)
Unfortunately, running the very same command (bash) from TC's command prompt (at the bottom of the window), yields different result:
Code: Select all
c:\>bash
(Windows Sybsystem for Linux's bash is opened)
Context: Total Commander Version 9.51 64 bit (2020-03-25), Windows 10 64-bit
PATH System variable:
Code: Select all
C:\cygwin64\bin
[...]
%SystemRoot%\system32
[...]
C:\Program Files\Git\usr\bin
[...]