コマンドプロンプト/PATHの通ったコマンドを探す・where
の編集
Top
/
コマンドプロンプト
/
PATHの通ったコマンドを探す・where
[
トップ
] [
編集
|
差分
|
バックアップ
|
添付
|
リロード
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
-- 雛形とするページ --
(no template pages)
#navi(../) * PATHの通ったコマンドを探す・where [#dd3c7005] UNIXのwhichコマンドと同等の動作をするコマンドを以下に記します。 #contents #htmlinsertpcsp(win-top.html,win-sp.html) * 関連記事 [#cacc713d] -[[PowerShellでPATHの通ったコマンドを探す・Get-Command>PowerShell/PowerShellでPATHの通ったコマンドを探す・Get-Command]] * whereコマンド [#n84307b1] whereコマンドの構文は以下の通りです。 where コマンド whereコマンドを使って幾つかコマンドを検索した例を以下に記します。 ** メモ帳(notepad.exe)を探す [#w09ea647] 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が通ったコマンドを探す方法でした。
タイムスタンプを変更しない
#navi(../) * PATHの通ったコマンドを探す・where [#dd3c7005] UNIXのwhichコマンドと同等の動作をするコマンドを以下に記します。 #contents #htmlinsertpcsp(win-top.html,win-sp.html) * 関連記事 [#cacc713d] -[[PowerShellでPATHの通ったコマンドを探す・Get-Command>PowerShell/PowerShellでPATHの通ったコマンドを探す・Get-Command]] * whereコマンド [#n84307b1] whereコマンドの構文は以下の通りです。 where コマンド whereコマンドを使って幾つかコマンドを検索した例を以下に記します。 ** メモ帳(notepad.exe)を探す [#w09ea647] 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が通ったコマンドを探す方法でした。
テキスト整形のルールを表示する