Technology computers-hardware

How to List All Files That Are on a Hard Drive

    • 1). Click "Start." Type "cmd" in the Run box and press "Enter."

    • 2). Type "dir" in the DOS command window and press "Enter."
      This brings up the main directory of the files on your computer.

    • 3). Type "dir/s" to bring up a listing of all the folders and files on the hard drive. This will be a large list and will take a minute or two to compile. Once compiled, it will stream quickly through the command window. Type "dir/p" to pause each screen so you can view the list.

    • 4). Sort the files by name by typing "dir/add specific directory name here/o/n."
      Sort the files by date by typing "dir/add specific directory name here/o/d."
      Sort the files by size by typing "dir/add specific directory name here/o/s."

    • 5). Save the file list in a text document by typing "dir/s > add specific directory name here.txt."



Leave a reply