Windows下类似Linux下的which命令
cmd下
C:\Users\lybly>for %x in (powershell.exe) do @echo %~$PATH:x
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
powelshell下
PS C:\Users\lybly> Get-Command sqlite3.exe
CommandType Name Version Source
----------- ---- ------- ------
Application sqlite3.exe 0.0.0.0 D:\android_sdk\platform-tools\sqlite3.exe