Go Back   TechArena Community > Software > Tips & Tweaks
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links

Print all files in a folder in a single command In Windows Xp

Tips & Tweaks

Thread Tools Search this Thread
Old 04-11-2008
Join Date: Oct 2008
Posts: 336
Print all files in a folder in a single command In Windows Xp

We can print one document in Windows XP. But how to we print all files in the folders? Ok. If one folder has 10 files we can open all files and then give print command. If 100 files are there and you have to take a printout of all of them what can we do? Here only notepad comes to our help here we can write a batch file and command it to print from a right place. Lets see briefly how is this done.

First of all open note pad, through Start, All Programs, Accessories, Notepad then type the following code without fault.

@echo off

dir%1/-p/o: gin>





Save the file as printdir.bat, then save it in c:\windows folder. A small tip: - you can save this file in any name but you must give the extension as .bat only. Now you have successfully created a file to print. Now, let’s see how to print all files in a folder,
  • First double click the My Computer icon.
  • Select Folder options from the Tools menu
  • Then Click File types tab, it will be in the upper side of the screen.
  • You will find a file type below” Registered file types”
  • Select it and click Advanced Tab
  • This opens Edit File Type. In this you can see a button “New” click it
  • New action dialog box opens
  • Type print directory in action tab
  • Browse for c:\windows\printdir.bat through browse button at application used to perform action
  • Click ok and close all the dialog boxes

If lot of files is to be printed we can create a folder and put them inside it, now right click on the folder and select print directory option in it, if you select this all files in the folder will be printed.

Reply With Quote
Old 13-10-2009
Join Date: Oct 2009
Posts: 1
Re: Print all files in a folder in a single command In Windows Xp

Hi Mac,

The mentioned procedure will print the list of files in a folder but not the files itself in a folder.

Please advice.

Reply With Quote

  TechArena Community > Software > Tips & Tweaks
Tags: , , ,

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads for: "Print all files in a folder in a single command In Windows Xp"
Thread Thread Starter Forum Replies Last Post
How to extract files from multiple folders into single folder Ebenezer Windows Software 5 23-02-2011 10:59 PM
Print and open command disappears by selecting more than 15 files at a time in windows 7 DENALII Windows Software 4 24-01-2011 10:01 AM
Is there any way to print 3 4x6 photos on single sheet using the print photo wizard mich43 Operating Systems 4 01-01-2011 09:05 PM
Bash command to delete entire Files from folder Strangers Windows Software 4 11-11-2010 08:30 PM
Print list of files in a folder Hollow-man Windows Software 3 04-04-2009 12:36 PM

All times are GMT +5.5. The time now is 05:20 PM.