PATHの通ったコマンドを探す・where †UNIXのwhichコマンドと同等の動作をするコマンドを以下に記します。 関連記事 †whereコマンド †whereコマンドの構文は以下の通りです。 where コマンド whereコマンドを使って幾つかコマンドを検索した例を以下に記します。 メモ帳(notepad.exe)を探す †whereコマンドを使ってNotepad.exeを検索した結果は以下の通りです。 C:\Users\sakura>where notepad.exe C:\Windows\System32\notepad.exe C:\Windows\notepad.exe C:\Users\sakura>where notepad C:\Windows\System32\notepad.exe C:\Windows\notepad.exe 拡張子を省略しても検索できていることが確認できます。 以上、WindowsのコマンドプロンプトでPATHが通ったコマンドを探す方法でした。 |