Recently I installed Pandoc and added its install directory to my system PATH. But I found that I can execute the program only in the system cmd
, not in cmder
.
I reinstalled the cmder
program and the pandoc
command can be executed in cmder
miraculously. Today, I can not execute the command in cmder
again (still can execute the command in cmd
), which is weird.
I have read some cmder
issue, e.g., issue #443 and issue #792, which are related to mysql. In my case, there is no &
character in the Pandoc path, the full path is C:\Users\east\AppData\Local\Pandoc
.
If I directly add the Pandoc path in cmder
console, set PATH=%PATH%;C:\Users\east\AppData\Local\Pandoc;
I can also execute the pandoc
command.
Any idea what is the problem?