Yes, where
is the command you are looking for.
MSDN: http://technet.microsoft.com/en-us/library/cc753148.aspx
Windows command: show command's file path
-
17-06-2023 - |
Question
I want to find the file path of any command, for example:
C:\Users\trungdq3>show-command-path notepad
C:\Windows\notepad.exe
C:\Users\trungdq3>show-command-path java
C:\Java\jdk1.6\bin\java.exe
Of course show-command-path
is not a valid command, is there any command like that available?
Thanks!
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow