Forum Home
Press F1
 
Thread ID: 42067 2004-01-31 02:55:00 Printing Contents of Folders for XP Hewie (5204) Press F1
Post ID Timestamp Content User
211692 2004-01-31 02:55:00 Sometime ago PC World published a batch file that allowed you to print out the contents of Folders using the "Send To" option. Has anybody got anything similar for use with XP Hewie (5204)
211693 2004-01-31 03:11:00 I thought you could just highlight everything in the folder and right click and go 'print'? :) PoWa (203)
211694 2004-01-31 09:26:00 Easy way: try PrintFolder Pro. (no-nonsense-software.com)


OR you could try this method:

To make the batch file, open a new Notepad document and copy and paste the following into it:
@echo off
dir %1 /-p /o:gn> "%temp%\dir.txt"
notepad /p "%temp%\dir.txt"
Note that the line breaks need to be as above or it might not work.

After pasting in Notepad, save the file as printdir.bat You will need to click on the drop-down box to select "Save as type" so that the file doesn't end up as printdir.bat.txt
The file should be saved in the C:\WINDOWS\SendTo folder.

Now all you need to do is turn on your printer, right-click on the folder that you want printed and choose Send To|printdir.bat


That works in Win 98 and hasn't been tried in Win XP so no guarantees given. ;-)
Fire-and-Ice (3910)
211695 2004-01-31 09:39:00 or try this goto "run" type in "cmd" then type in

dir > dirlist.txt
output from the dir command is redirected (and creates in this case) a file dirlist.txt . Use ">>" if you wish to add (amend) to a file contents

then open this txt file in notepad and print or you could try

type dirlist.txt > lpt1

(">"redirects output from type command to the lpt port. If your printer is usb or a network printer (unless lpt1 is redirected to the network printer) this command will not work)
beama (111)
1