- 814 名前:デフォルトの名無しさん [2019/08/26(月) 07:51:25.55 ID:LOkM9Twk.net]
- コマンドプロンプトで、where notepad
と入力すると、メモ帳のパスが、2つ表示されるが、 C:\Windows\System32\notepad.exe C:\Windows\notepad.exe PowerShell(PS)で、Get-Command notepad と入力すると、上の1つだけが表示される。 つまり、PSと、whereコマンドの挙動が異なる! コマンドプロンプトで、where where と入力すると、 C:\Windows\System32\where.exe そこで、PSで、where.exe notepad と入力すると、whereコマンドを呼び出せたので、2つ表示された
|

|