Discussion Locked

Print Directory

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Is there a way to print a directory listing?
(similar to the old dir %1 > lpt1

8 replies

by syscokid

Yes, at a command prompt navigate to the folder you want and type

dir >lpt1

You may need to do

net use \\machine\printer lpt1

first.

by pupstwo

Sorry....I posted this in Windows2000 and apparantly that didn't show up.
I need to print the directory listing in Win2000.

by syscokid

I'm running Windows 2000 SP2 and it works for me.

Did you do

net use lpt1 \\computername\printername

first?

by joseph moore

Well, you can spool the DIR listing to a text file, then print the text file.

DIR > FILENAME.TXT

Then just print the TXT file.

hope this helps

This discussion is closed to new replies.