
In File Explorer, navigate to the same folder, and you should see a print.txt file. Type dir > print.txt, then press Enter and exit the Command Prompt. For example, to navigate to your Documents folder, you would input cd C:\Users\YourUserName\Documents, switching out yourusename for your own. Use the cd command to navigate to the directory you want to print. Now, right-click and select Run as administrator. Type command prompt in the Start menu search bar, and select the best match to open the Command Prompt. This is one of many important command-line commands that are easy to remember and easy to perform:

In this article, we'll show you five different ways to print folder contents as a list.


Whether you're a home user or part of a business, you may one day need to print a list consisting of a directory's entire contents-and when that day comes, the following methods will save you a boatload of time.
