RE: Query: Creating a text file from a directory

Subject: RE: Query: Creating a text file from a directory
From: "Mark Baker" <mbaker -at- ca -dot- stilo -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Thu, 17 Jul 2003 18:07:03 -0400

Bonnie Granat wrote

> I seem to recall the question arising in the past of how to
> create a text file
> from a directory.
> Just wanted to pass this along, because there doesn't appear to
> be a way in
> Windows to accomplish this.

Sure there is:

1. Open a DOS box.
2. Change to the directory you want to list.
3. Type: DIR /B > DIR.TXT

The directory listing is in the file DIR.TXT

Mark Baker
Stilo Corporation
1900 City Park Drive, Suite 504 , Ottawa, Ontario, Canada, K1J 1A3
Phone: 613-745-4242, Fax: 613-745-5560
Email mbaker -at- ca -dot- stilo -dot- com

This message, including any attachments, is for the sole use of the
intended recipient and may contain confidential and privileged
information. Any unauthorized review, use, disclosure, copying, or
distribution is strictly prohibited. If you are not the intended
recipient please contact the sender by reply email and destroy
all copies of the original message and any attachments.


sourcing tool for FrameMaker that lets you easily publish your content
online. No macro language required!

Mercer University's online MS Program in Technical Communication Management:
Preparing leaders of tomorrow's technical communication organizations today.
See or write George Hayhoe at hayhoe_g -at- mercer -dot- edu -dot-

You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit for more resources and info.

Query: Creating a text file from a directory: From: Bonnie Granat

Previous by Author: RE: Feedback [LONG]
Next by Author: RE: XML conversion
Previous by Thread: Re: Query: Creating a text file from a directory
Next by Thread: RE: Query: Creating a text file from a directory

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

Sponsored Ads