批次檔找出執行檔路徑
發表於 : 2011-12-26 20:13:59
Windows 要如何快速找到特定執行檔的所在目錄 ( which )
http://blog.miniasp.com/post/2010/10/24 ... where.aspx
http://blog.miniasp.com/post/2010/10/24 ... where.aspx
代碼: 選擇全部
@for %%e in (%PATHEXT%) do @for %%i in (%1%%e) do @if NOT "%%~$PATH:i"=="" echo %%~$PATH:i