I have Cygwin installed somewhere in the path. So I have
>where dir
D:\Users\Dims\Design\Cygwin64\bin\dir.exe
When I run DIR
from CMD
I get the normal Windows DIR
:
>dir /?
Displays a list of files and subdirectories in a directory.
DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N]
[/O[[:]sortorder]] [/P] [/Q] [/R] [/S] [/T[[:]timefield]] [/W] [/X] [/4]
...
But if I run it from under FAR
, it takes DIR
from Cygwin:
>dir /?
/usr/bin/dir: cannot access /?: No such file or directory
So, FAR
is somehow ignoring precedence of built-in Windows commands. Is it possible to re-enable it?
path
env variable?dir
you want to run is an internal command only available from Windowscmd