Quantcast
PCWorld.com is upgrading some back-end systems. Some site features, such as user registration, may be temporarily unavailable.

Blogs

    Answer Line

  • From Windows to wireless, Contributing Editor Lincoln Spector finds solutions to readers' most vexing PC problems.
  • Subscribe to this blog

Answer Line: Rescue Files Trapped on a CD-RW Gone Bad

Lincoln Spector

Print Folders to a Network Printer

You've talked before about printing a list of the files in a folder [see "Print Folder Directories," January 2001 Answer Line], but your solution assumed the user has a local printer hooked up to LPT1. What if the person uses a network printer?

Joanne Doolin, Browning, Illinois

Here's a way to print a folder's contents that will work with your default Windows printer, whether it's local or networked.

First, create a batch file by launching Notepad (select Start, Programs, Accessories, Notepad) and entering three lines:

@echo off

dir %1 /-p /o:gn > "%temp%\dir.txt"

notepad /p "%temp%\dir.txt"

Then save the file as c:\windows\sendto\printdir.bat and exit Notepad. From now on, whenever you want to print a folder's contents, all you have to do is right-click the folder and select Send To, printdir.

Send your questions to answer@pcworld.com. Answer Line pays $50 for published items. You can find Contributing Editor Lincoln Spector's humorous writing at www.thelinkinspector.com.
  • Recommend this story?
  • 0 Yes
    0 No
  • Great year-end deals
    for small business!
  • Get 24/7 live remote AT&T Tech Support 360* service along with select Lenovo* PCs (with Intel® Core™ 2 Duo processors) and save up to 200!

    Learn more

  • HP EliteBook* 6930p Notebook with Intel® vPro™ technology and a free HP Basic Docking Station - $641 instant savings!

    Learn more

Learn more about the Windows Phone PCWorld Gift Guide

Focus on Personal Productivitysponsored by Microsoft

  • Personal Finance 2.0 These free and fee-based Web services not only aggregate data from your online bank accounts, they give you tools for managing your money.
  • High-Tech Travel Tips Plenty of stories provide advice for elite mobile professionals. But what about you, the unproductive traveler?

People who read this also read:

Answer Line

All PC World Blogs

Sponsored Links