LoginSignup
4
3

More than 3 years have passed since last update.

cmdからexplorer.exeを立ち上げる方法まとめ

Posted at

コマンドプロンプトからエクスプローラーを立ち上げる方法をまとめます。

1. カレントディレクトリで開く

>start .

2. ひとつ上のディレクトリで開く

>start ..

※ただし、さらに上のディレクトリに関しては使えない

>start ...

上記のコマンドは想定とは異なり、カレントディレクトリで開く。

3.ひとつ上のディレクトリに属す他のフォルダで開く。

>start ..\directory

4.開くフォルダをフルパスで指定して開く

>start c:\windows\system32
#または
>explorer.exe /e, c:\windows\system32

5. 環境変数で指定したフォルダを開く。

>start %HOMEDRIVE%
#または
explorer.exe /e, %HOMEDRIVE%

6. 番外編
ちなみに、

>start

上記のコマンドは、新しいウィンドウのコマンドプロンプトを開くコマンドになるので注意してください。

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3