printing list of files

Reply

  #1  
Old 09-20-04, 02:26 PM
tedk
Visiting Guest
Posts: n/a
printing list of files

I am using Windows XP. I know how to view files in various folders but how can I get a printout?
 
Sponsored Links
  #2  
Old 09-20-04, 07:18 PM
WorldBuilder's Avatar
Banned. Rule And/Or Policy Violation
Join Date: Mar 2004
Location: Boston, MA
Posts: 1,471
To the best of my knowledge, that is not possible. I asked that a long time ago in some other places and never got a response.

I could be wrong, and if I am, I'd also like to know how!

Chris
 
  #3  
Old 09-20-04, 07:34 PM
raharold's Avatar
Member
Join Date: Sep 2003
Location: in the armpit of the nation
Posts: 177
Here is one way to do it:

from the start menu select "run..."

type "cmd"

hit enter

cd to the desired directory

type "dir > [file name].txt" replacing [file name] with the name of the file to dump the directory output into. The file name can be anything: dump.txt, dir.txt, directory.txt, etc. If the file does not exist, then the system creates it for you.

Now find the file in explorer, open with notpad, wordpad, word or any text editor and print the file.

The key is the ">" character. Adding this character between the directory name and file name tells your system to list the directory (dir command) and output the list to the specified file name.
 
  #4  
Old 09-20-04, 07:53 PM
WorldBuilder's Avatar
Banned. Rule And/Or Policy Violation
Join Date: Mar 2004
Location: Boston, MA
Posts: 1,471
That worked. Very cool, Ross. Thanks!

Chris
 
  #5  
Old 09-21-04, 04:16 AM
Member
Join Date: Dec 1999
Location: United States
Posts: 2,535
Ahhh - those old DOS commands!!! They never go away, do they?
 
  #6  
Old 09-21-04, 04:28 AM
Member
Join Date: Sep 2003
Location: Central New York State
Posts: 13,973
Depending on the operating system and the setup you can circumvent the file in the middle by simply redirecting the output of the dir (directory) command to the printer. (The greater than symbol, '>' is also called redirect.)

dir > lpt1:
 

Last edited by racraft; 09-21-04 at 10:11 AM.
  #7  
Old 09-21-04, 04:48 AM
fewalt's Avatar
Member
Join Date: Feb 2001
Location: sw VA
Posts: 3,100
Geeez,

I was gonna recommend a free shareware program called Folderprint.
I got it a few years ago(free), but now I see it is only a trial version.

another way is: anything on your screen can be printed - Hit Print Screen button. it's placed on the clipboard and can pe pasted into any wp program and printed.

fred
 
  #8  
Old 09-21-04, 09:27 AM
raharold's Avatar
Member
Join Date: Sep 2003
Location: in the armpit of the nation
Posts: 177
Originally Posted by racraft
(The greater than symbol, '>' is also called redirect.)
Right, you are redirecting the output from the standard output (usually your moniter) to another device or file.
 
  #9  
Old 09-21-04, 02:54 PM
tedk
Visiting Guest
Posts: n/a
printing list of files

Thank you -- thank you one and all. To be honest, I felt stupid asking such a simple question. Never too old to learn a few new tricks. tedk
 
  #10  
Old 09-21-04, 08:54 PM
tae's Avatar
tae
tae is offline
Member
Join Date: Nov 2002
Posts: 2,469
you can use a program like here:
http://www.karenware.com/powertools/ptdirprn.asp
 
Reply

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Thread Tools
Search this Thread
Display Modes