• Skip to main content
  • Skip to primary sidebar

Technipages

Tutorials and fixes for smartphone, gadget, and computer problems

  • Topics
    • Android
    • Browsers
    • Gaming
    • Hardware
    • Internet
    • iPhone
    • Linux
    • macOS
    • Office
    • Reviews
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About
Windows: Print Contents of Directory

Windows: Print Contents of Directory

December 28, 2019 by Mel Hawthorne Leave a Comment

Have you ever wanted a faster way to print a large number of files all at once rather than opening and printing each one individually? In this article, we’ll cover one way to speed up that process considerably, so that you can batch-print your next lot of files easily!

In order to do this, all of the files you want to print need to be in the same folder. Open a File Explorer window.

Here, right-clicking offers a menu option to print files without necessarily having to open them – by default, this only applies to the single file you’ve right-clicked on.

You can, however, add multiple files to your print queue in one go. If you select multiple files by holding the Ctrl button and clicking them all, you can mark multiple files. When you’ve done that, you can then right-click and print all of them at once. 

Select multiple documents and print all of them

Tip: This technique only works for similar file types. For example, it will work for a group of images even if they are a mix of JPEG and PNG but it won’t work for images and word documents, like DOCX and TIFF at the same time.

Sometimes you may want to print a list of everything that you have in a directory rather than the actual files themselves – a comprehensive list of everything in a folder.

To do this, open File Explorer and navigate to the folder you want to print a directory listing for. Press and hold shift as you right-click and a previously hidden option in the menu will allow you to “Open PowerShell window here”. On some computers “PowerShell” may be replaced with “Command” – it still works exactly the same though. Click on this option.

Shift+right-click to open PowerShell

In the PowerShell window that will open, type “dir”. This will display a list of files and folders in the directory, to print the result to a text file you need to edit the command to point the output to a file, the command you need to do that is: “dir > list.txt”.

Tip: You should never just execute commands in this PowerShell window without properly understanding what they do. They could be malicious and harm your computer if you’re not careful. In this command “dir” is an instruction to print a DIRectory listing, “>” is an instruction to send the output from the left side to the right side, in this case, the output is sent to a file called “list.txt”. Since list.txt doesn’t yet exist, the computer will create a new empty file and print your info into it.

Command and output

This command won’t show any output on the screen like this, but it will have created a new file called list.txt, which will contain the full list of all files and folders in the directory.

You Might Also Like

  • Windows 10: Hide/Show Window Contents While Dragging
    Windows 10: Hide/Show Window Contents While Dragging
  • Windows 10: An Error Occurred While Creating the Directory
    Windows 10: An Error Occurred While Creating the Directory
  • Windows 10 & 11: Install Active Directory Users and Computers
    Windows 10 & 11: Install Active Directory Users and…
  • Benefits of Using “Print to PDF” in Windows 10
    Benefits of Using “Print to PDF” in Windows 10
  • Windows 10: How to Print Screen
    Windows 10: How to Print Screen
  • Disable Windows Print Notifications
    Disable Windows Print Notifications

Filed Under: Windows

Reader Interactions

Did this help? Let us know!

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Posts

  • Windows: Useful Tips to Speed Up Startup
  • Google Photos: How to Remove a Memory
  • How to Open Outlook in Safe Mode: The 6 Best Methods You Must Know
  • How to Make a Drop-Down List in Excel: 2 Best Methods in 2023
  • Can You Mix RAM Brands: A Guide for RAM Mix and Match
  • Google Photos: How to Recover Erased Pictures
  • New Galaxy S23: Full Specs, Features, and More
  • How to Block Calls on Android

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

You May Also Like

  • Windows 95/98
  • Microsoft Windows NT
  • Microsoft Windows
  • Microsoft Windows 95
  • Windows Media Player (WMP)
  • Top 8 Itunes Alternatives for Windows

© Copyright 2023 Guiding Tech Media · All Rights Reserved · Privacy