6
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

お役立ちコマンドプロンプトのコマンド

Last updated at Posted at 2014-04-27
  • hogeディレクトリのファイル一覧をフルパスで出力
    dir /b /s D:\hoge > dir.txt

  • ディレクトリのフォルダ&ファイル一覧を並び替えてテキストファイル出力
    dir /b /on > list.txt

  • Dドライブ直下にhogeフォルダが存在してる場合のみ、フォルダ&ファイル一覧を並び替えてテキストファイル出力

\hoge (
  dir D:\hoge /b /on > list.txt
)```

* ツリー構造でフォルダ+ファイル一覧
`tree /f`

* 再起動
`shutdown /r`

* コマンド履歴(history)を表示する
`「F7キー」 コマンドだと doskey /h`
6
8
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
6
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?