How Do I List All Files in a Folder in Windows 10?
Contents

How do I get a list of files in a folder?

In MS Windows it works like this:

  1. Hold the “Shift” key, right-click the folder containing the files and select “Open Command Window Here.”
  2. Type “dir /b > filenames. …
  3. Inside the folder there should now be a file filenames. …
  4. Copy and paste this file list into your Word document.

17 нояб. 2017 г.

How do I list all folders in a folder?

Enter “dir” (without quotes) to list the files and folders contained in the folder. If you want to list the files in all the subfolders as well as the main folder, enter “dir /s” (without quotes) instead.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest