Results 1 to 2 of 2

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

  1. #1
    Join Date
    Oct 2008

    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.

  2. #2
    Join Date
    Oct 2009

    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.


Similar Threads

  1. Replies: 5
    Last Post: 23-02-2011, 10:59 PM
  2. Replies: 4
    Last Post: 24-01-2011, 10:01 AM
  3. Replies: 4
    Last Post: 01-01-2011, 09:05 PM
  4. Bash command to delete entire Files from folder
    By Strangers in forum Windows Software
    Replies: 4
    Last Post: 11-11-2010, 08:30 PM
  5. Print list of files in a folder
    By Hollow-man in forum Windows Software
    Replies: 3
    Last Post: 04-04-2009, 12:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts