Re: Looking for a dos command

Subject: Re: Looking for a dos command
From: Geoff Lane <geoff -at- gjctech -dot- co -dot- uk>
To: TECHWR-L <techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Tue, 15 Aug 2006 19:20:47 +0100

On Tuesday, August 15, 2006, John Posada wrote;

> We don't know the subdirectory names. They can vary from product to
> product.

> I need to specify the starting point and let it walk every subdir
> from that point

Which is exactly what "DIR /S" does. Try this:

Click Start->Run
Type cmd then press Return
in the command window that opens, do:
CD \

Pressing Return after each line

Now to get the lot into one file do:
DIR /S > \filelist.txt

The entire output of the DIR command is written to \filelist.txt, from
where you can work on it further.

To do the same for the contents of G:\myapp\myfiles - just do:

CD \myapp\myfiles
DIR /S > filelist.txt




WebWorks ePublisher Pro for Word features support for every major Help
format plus PDF, HTML and more. Flexible, precise, and efficient content
delivery. Try it today!

Easily create HTML or Microsoft Word content and convert to any popular Help file format or printed documentation. Learn more at

You are currently subscribed to TECHWR-L as archive -at- infoinfocus -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit

To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to lisa -at- techwr-l -dot- com -dot- Visit for more resources and info.

Re: Looking for a dos command: From: John Posada

Previous by Author: Re: For those who think punctuation matters: validation!
Next by Author: Re: Looking for a dos command
Previous by Thread: Re: Looking for a dos command
Next by Thread: Re: Looking for a dos command

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

Sponsored Ads