We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I created a file ls.bat and placed it in a directory on my path.
ls.bat
which ls reports
which ls
C:\Program Files (x86)\Gow\bin\ls.EXE
where ls reports
where ls
C:\Windows\System32\ls.bat C:\Program Files (x86)\Gow\bin\ls.exe
If I execute ls, C:\Windows\System32\ls.bat is actually what is getting executed.
ls
C:\Windows\System32\ls.bat
The text was updated successfully, but these errors were encountered:
This is actually the expected behaviour, works the same way on GNU/Linux. I think it grabs the first match on the path.
Sorry, something went wrong.
No branches or pull requests
I created a file
ls.bat
and placed it in a directory on my path.which ls
reportswhere ls
reportsIf I execute
ls
,C:\Windows\System32\ls.bat
is actually what is getting executed.The text was updated successfully, but these errors were encountered: