Help!

Print a list of files in a folder

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Windows Fanatics RSS
Next:  How do you clear the cmos?????  
Author Message
oldgoat



Joined: Dec 21, 2004
Posts: 118



PostPosted: Tue Nov 21, 2006 6:16 pm    Post subject: Print a list of files in a folder

Is there any way to print a list of files contained in a folder like you can with a MAC Question
Back to top
zlim



Joined: Mar 11, 2005
Posts: 2629



PostPosted: Tue Nov 21, 2006 9:52 pm    Post subject: Re: Print a list of files in a folder [Login to view extended thread Info.]

Directory Printer by Karen Kenworthy
http://www.karenware.com/powertools/ptdirprn.asp
Back to top




User: inactive
Posts:



PostPosted: Wed Nov 22, 2006 10:32 am    Post subject: Re: Print a list of files in a folder [Login to view extended thread Info.]

Since the days of DOS prompts and command lines, the ability to save directory information to a text file has always been there. Once saved to a text file, it can be easily read with "Wordpad" or your favorite word processor and/or printed out on your printer for a permanent record.
There's NO need to install extra software to perform that simple task.

Open a command prompt. Change directory with the cd command to get into the directory you want to read. Then type this command.

dir /a >c:\dirlist.txt

The "dir" command will read the current directory.
the "/a" tells "dir" to read all files in the folder, even hidden or system files.

Then the ">" (greater-than sign) tells "dir" to redirect its output to the filename following.

"dirlist.txt" is the name of the file that will receive the directory listing.

I use this simple technique often to get a listing of files in some folder or another.

[If using the CD command to change to a specific directory is not to your liking, you can just insert the path to the subject folder in the command line, like this:

dir /a "C:\Program Files\xorb\" > C:\dirlist.txt
This will list all the files in the \xorb\ folder.]

DOS Rules!

Shadow Cool
Back to top
oldgoat



Joined: Dec 21, 2004
Posts: 118



PostPosted: Sat Dec 09, 2006 5:25 pm    Post subject: Re: Print a list of files in a folder [Login to view extended thread Info.]

zlim wrote:
Directory Printer by Karen Kenworthy
http://www.karenware.com/powertools/ptdirprn.asp


Hey, this little gem works like a charm.
Thanks! Very Happy
Back to top
goretsky



Joined: Dec 07, 2002
Posts: 9025

Location: Southern California

PostPosted: Fri Jul 03, 2009 2:45 am    Post subject: [Login to view extended thread Info.]

Spam removed from message thread.
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Windows Fanatics All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum