Print Folder Contents

  • Thread starter Thread starter JamesJ
  • Start date Start date
Is there a way to print a list of items in a folder?


Here are four ways:

1. Go to a command prompt and issue the command

dir [drive:folder] > c:\tempfilename (you can use any name and put it
in any folder you want)

Then open notepad, open tempfilename, and print it from there.

2. Write (for example in Notepad) a 1-line text file:
DIR %1 /O >LPT1:

Save it as "printdir.bat" in the "Send To" folder.

Then, to print list of files in any folder, right-click that folder
and select Send to | printdir.bat

To include subfolders, change the comand to DIR %1 /O/S >LPT1:

3. Go to
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q321379 and
follow the instructions there.

4. Download and use any of the several freeware/shareware utilities
that can do this, such as the popular
http://www.karenware.com/powertools/ptdirprn.asp
 
Ken Blake said:
Here are four ways:
2. Write (for example in Notepad) a 1-line text file:
DIR %1 /O >LPT1:

Save it as "printdir.bat" in the "Send To" folder.

Then, to print list of files in any folder, right-click that folder
and select Send to | printdir.bat

To include subfolders, change the comand to DIR %1 /O/S >LPT1:
<snip>

With many (most?) computers using USB connected printers these days, is
there a way to adapt that method to print to a USB printer?

--
Zaphod

Arthur: All my life I've had this strange feeling that there's something
big and sinister going on in the world.
Slartibartfast: No, that's perfectly normal paranoia. Everyone in the
universe gets that.
 
<snip>

With many (most?) computers using USB connected printers these days, is
there a way to adapt that method to print to a USB printer?


Set up the printer as a shared printer
Use NET USE LPT1: \\computername\sharedprintername
Then use the DIR command with LPT1:
 
Ken Blake said:
Set up the printer as a shared printer
Use NET USE LPT1: \\computername\sharedprintername
Then use the DIR command with LPT1:

Thanks, I hadn't thought of that approach (even though it's the same
method I use in XP to get old DOS apps to print to file.) One for the
knowledge base.

--
Zaphod

Arthur Dent, speaking to Trillian about Zaphod:
"So, two heads is what does it for a girl?"
"...Anything else he's got two of?"
 
Thanks, I hadn't thought of that approach (even though it's the same
method I use in XP to get old DOS apps to print to file.) One for the
knowledge base.


You're welcome. Glad to help.
 
Is there a way to print a list of items in a folder?


Here are four ways:

1. Go to a command prompt and issue the command

dir [drive:folder] > c:\tempfilename (you can use any name and put it
in any folder you want)

Then open notepad, open tempfilename, and print it from there.

2. Write (for example in Notepad) a 1-line text file:
DIR %1 /O >LPT1:

Save it as "printdir.bat" in the "Send To" folder.

Then, to print list of files in any folder, right-click that folder
and select Send to | printdir.bat

To include subfolders, change the comand to DIR %1 /O/S >LPT1:

3. Go to
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q321379 and
follow the instructions there.

4. Download and use any of the several freeware/shareware utilities
that can do this, such as the popular
http://www.karenware.com/powertools/ptdirprn.asp

5. From Windows Explorer in Vista, press Ctrl+A to select all in the right
pane. Now press and hold the shift key and right-click on the selection.
Choose "Copy as Path" from the context menu. Now paste the list into
Notepad and print.

Regards,
Doug M. in NJ
 
Back
Top