Re: How to Print a List of Files (ASAP)!

Subject: Re: How to Print a List of Files (ASAP)!
From: "David M. Brown" <dmbrown -at- brown-inc -dot- com>
To: TECHWR-L <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Tue, 03 Oct 2000 16:31:03 -0700

jwaddell wrote:
> You can print a list of files to a file by using the dos command: dir *.*/b
> > file.txt. This will create a list of files in a text file named file.txt
> -----Original Message-----
> From: skwpt [mailto:skwpt -at- yahoo -dot- com]
> A couple months ago someone wrote brief instructions
> for how to print a list of files (documents in several
> layers of folders---basically a tree). From the DOS
> command prompt, I think.

Since you wanted multiple folders, try this in a DOS window:

TREE /f > filename.txt

This displays the full directory structure (from current directory down).
The /f switch includes filenames in the display.

The only drawback is that--at least in DOS 6.22 (Windows 95)--names are displayed in the "8.3" format, yielding names like "PROGRA~1" for the "Program Files" directory.


David M. Brown - Brown Inc.
dmbrown -at- brown-inc -dot- com

A V A I L A B L E N O W !

HTML Indexer 3, still the easiest way to create and maintain real
back-of-the-book indexes for web sites and other HTML documents.

Now including options for HTML Help and JavaHelp indexes, too!


Previous by Author: Re: Does anyone still use WordPerfect?
Next by Author: Re: JavaHelp: escape from RoboHELP
Previous by Thread: RE: How to Print a List of Files (ASAP)!
Next by Thread: RE: How to Print a List of Files (ASAP)!

What this post helpful? Share it with friends and colleagues:

Sponsored Ads