• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
WebSetNet

WebSetNet

Technology News

  • Technology News
    • Mobile
    • Games
  • Internet Marketing
  • System Admin
    • Windows 11
    • Linux
    • Mac & Apple
    • Website Scripts
      • Wordpress
You are here: Home / groovyTip: How to Print the Contents of a Folder in Windows 10

groovyTip: How to Print the Contents of a Folder in Windows 10

August 5, 2020 by Martin6

 

Printing the directory structure of a folder—including the filenames and subfolders—is one of those simple tasks that should be easy in Windows 10. The good news is that it is easy, once you know how to do it. However, it requires using the Command Prompt. But once you learn this simple command, you can quickly and easily generate file listings of folder contents that you can print or edit as you see fit.

First, we’ll show you how to print the contents of a folder using built-in Windows 10 functions. Then, we’ll show you an even easier way using some third-party software. Ready? Let’s get started.

Print the Contents of Folders in Windows 10 Using the Command Prompt

If you just want a printed listing of what’s inside a folder, here’s what you do.

  1. Open the Command Prompt. To do that, click Start, type CMD, then right-click Run as administrator.
  2. Change the directory to the folder you want to print the contents of. To do that, use the cd command—for example, “cd c:usersadacostadocuments”.
  3. Type the following command and hit Enter: dir > listing.txt

This will generate a basic text file listing the contents of the directory. The filename you save can be anything you want. You can call it listing.txt, files.txt, folder.txt or whatever.

This is what it looks like:

If you want to go a step further, you can print the contents of subfolders by issuing the following command: tree “c:directory_name” > “c:file_name.txt” /A /F

See example:

There you have it, all the information you need about what’s stored in your folders.

TIP: On the command line, using “>” will always send the output of the command to a file. It works with any command. You can also use “>>” to append the output to the end of an existing file.

How to Use Karen’s Directory Printer

Looking for a graphical tool that can do the same thing? I would recommend Karen’s Directory Printer; I used it many years ago when I needed to generate print logs of files each week. It’s very easy to use but features a jam-packed interface. All you need to do is select the direct directory, choose the attributes you want (file size, date created, extension) then click Print.

Hopefully, Microsoft will make this a more easy task to perform. They have been known to surprise us in the past, such as updating apps like Paint and WordPad. Even the Command Prompt has gotten updates in recent times. Until then, this is the best you’ve got.

Let us know what you think. Did you find this tip useful?

Source

Related posts:

  1. Running out of storage? Try these tips to free up space on Windows 10
  2. Fast Delete Complex Directories
  3. Essential command tools to fix virtually any networking issue on Windows 10
  4. The ultimate guide to fixing problems with the May 2020 Update
  5. 6 Ways to Show Hidden Files and Folders in Windows 10
  6. Amazon Alexa Easter eggs: Over 180 funny things to ask Alexa
  7. 13 Ways to Tweak Nautilus File Manager in Linux to Get More Out of it
  8. Running your first batch script on Windows 10
  9. What Is Two Blue Arrows Icon On Files & Folders In Windows 10
  10. 10 Ways to Open the Command Prompt in Windows 10

Filed Under: Uncategorized Tagged With: contents, folder, groovytip:, print, windows

Primary Sidebar

Popular posts

  • 5 Ways to Fix “Your SIM sent a Text Message” Issue on iPhone
  • 3 Ways to Disable GetApps on Xiaomi, Redmi, and Poco Phones Running MIUI
  • GeForce Experience not finding games? Fix it fast
  • How To Extract & Install tar.gz Files In Ubuntu
  • Discord Stream Has No Sound? 6 Ways to Fix
  • How to Highlight Duplicates in Google Sheets
  • How to check if your Android device supports Widevine DRM
  • 8 Best Sites to Read Manga Online for Free
  • Exclamation Mark on Network Signal, Mobile Data Not Working? 8 Ways to Fix
  • How to find a lost Apple Pencil using your iPad (1st and 2nd gen)
  • 3 Ways to Hide Tabs in Google Chrome
  • How to Fix YouTube Server Connection Error [400] on Android
  • How to Track a Stolen or Lost Nintendo Switch
  • What is Android System Intelligence, and why is it on your phone?
  • How To Search On Google Using Image or Video
  • Microsoft Edge's newest feature? Shopping in Microsoft Edge
  • How to Change the Last Modified Date, Creation Date, and Last Accessed Date for Files and Folders

Footer

Tags

Amazon android Apple Asus available download: edge feature features first free from galaxy Game games gaming gets google install Intel iPhone launches linux Microsoft more OnePlus phone release released review: samsung series support this Ubuntu update using video watch what will windows with xbox your

Archives

  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org