Is there an equivalent of the Unix whereis command in Windows?
So that I could figure out where commands I can run actually is.
|
Is there an equivalent of the Unix whereis command in Windows? So that I could figure out where commands I can run actually is. |
||||
|
|
|
The where command does what you want and goes back at least to the resource kit for Windows 98, and is included by default in Server 2003, Vista, and newer:
If executed with no arguments (on Vista), it results in one of my favorite messages:
If executing in PowerShell, be sure to include '.exe' to distinguish from any 'where' aliases or scripts along the path. ('where' is a typical alias for Where-Object.ps1)
|
|||||
|
|
hackerish which.cmd:
|
|||||||
|
|
Somewhere "out there" I found this batch file
Update: maybe I found it here. |
||||
|
|
|
A different (GUI) approach, but look at Everything. |
||||
|
|
|
There is at least a Windows port for the |
|||
|
|
|
You can try searching for the command using the following: dir /s type-whatever-you-are-searching |
|||||||
|
|
I was searching for this today and since I'm on XP without the resource kit, I turned to powershell with the following command:
|
|||
|
|