Skip to content
mnaoumov.dev
Go back

where.exe

Sometime you need to understand the physical location of executable you are running.

For example I run� git in command prompt� and I understand that it is loaded from one of directories from the PATH variable.

But how to understand which one?!

Answer: where.exe

PS C:\> where.exe git
C:\Program Files (x86)\Git\cmd\git.cmd
C:\Program Files (x86)\Git\cmd\git.exe

Share this post on:

Previous Post
Debug minified_obfuscated javascript
Next Post
Execute PowerShell command from batch file