PDA

View Full Version : Printing list of file contents


nickel
December 11th 03, 07:40 AM
In My Computer, I'm trying to print just the list of
filenames in a particular folder. I somehow keep printing
the entire file, not just the names. Help please.

Rick \Nutcase\ Rogers
December 11th 03, 07:41 AM
Hi Nickel,

HOW TO: Add "Print Directory" Feature for Folders in Windows XP [Q321379]
http://support.microsoft.com/?kbid=321379

--
Best of Luck,

Rick Rogers aka "Nutcase" MS-MVP - Win9x
Windows isn't rocket science! That's my other hobby!
http://mvp.support.microsoft.com/
Associate Expert - WinXP - Expert Zone
www.microsoft.com/windowsxp/expertzone
Win98 Help - www.rickrogers.org

"nickel" > wrote in message
...
> In My Computer, I'm trying to print just the list of
> filenames in a particular folder. I somehow keep printing
> the entire file, not just the names. Help please.

Sharon F
December 11th 03, 07:41 AM
On Wed, 5 Nov 2003 18:19:27 -0800, nickel wrote:

> In My Computer, I'm trying to print just the list of
> filenames in a particular folder. I somehow keep printing
> the entire file, not just the names. Help please.

There's many different methods of getting a directory listing. I prefer
using a small free 3rd party program called Directory Printer. It's
available for downloading here:

http://www.karenware.com/powertools/powertools.asp

--
Sharon F
MS MVP - Windows Shell/User

Patrick
December 11th 03, 07:41 AM
nickel wrote:
> In My Computer, I'm trying to print just the list of
> filenames in a particular folder. I somehow keep printing
> the entire file, not just the names. Help please.

What I would do is to use a Command-Prompt or a *.bat file containing;
dir /b drive:\"path to directory"\*.* >C:\filelist.txt

the '/b' causes just the filename to show, other options are shown by
typeing 'dir /?' at a CommandPrompt

"path to directory", needs all seperate words in a name to have quotes round
them (or quotes round the whole path)

Note that thiere is a space between 'dir' and '/b', also a space between
'*.*' and '>'

And after the command (in the example above) your filelist will at
'C:\filelist.txt'

Google