The Unix which statement is very useful in determening which path is used for program run from the command line, and it would be very helpful to have something similar in windows.
feedback
|
|
Save this to a file named
Or download UnxUtils - they have lightweight native ports of the most common tools. Or if you don't care about lightweightness, install Microsoft Services For Unix. Yes, it has Microsoft Vi. | |||||||
feedback
|
|
I use whereis written by Joseph M. Newcomer (co-author of Win32 Programming). | |||
|
feedback
|
|
Nope, no native equivalent. Can't even get command completion with You can always install a Windows port of a Unix shell environment to get | |||||||||||
feedback
|
|
You have this with PowerShell. If you don't have PS you can get it from Microsoft. It's free. Here is an article from Linux-Magazine which touches on the topic of Unix (bash) commands available in PowerShell. | ||||
|
feedback
|
|
Windows Server 2003/2008 has "where" built in. | |||
feedback
|
|
And if your program is interactive you can always check the Task manager. Select the process you want to explore, and choose "Open file Location" from the popup meny | |||
feedback
|