Re: Need advanced DIR list

Subject: Re: Need advanced DIR list
From: Robert Lauriston <robert -at- lauriston -dot- com>
To: "techwr-l -at- lists -dot- techwr-l -dot- com" <techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Fri, 30 Oct 2015 08:03:01 +0100

The /b option gets rid of the summaries, though if you sort the lines,
who cares?

On Thu, Oct 29, 2015 at 4:53 PM, Chris Morton <salt -dot- morton -at- gmail -dot- com> wrote:
> I do the same as Yves.
>
> However, I'm attempting to get of the summary line, e.g., "20 File(s)
> 12,953,912 bytes" in the original list file, before Excel ever sees it.
>
> This comes very close, but it's not quite there: *DIR /S /A:-D* *<target>* *>
> LIST.TXT*
>
>> Chris
>
>
>
> On Thu, Oct 29, 2015 at 11:41 AM, Yves Barbion <yves -dot- barbion -at- gmail -dot- com>
> wrote:
>
>> Hi Chris
>>
>> I usually open this txt file in Excel, convert the text to columns and
>> then delete the columns I don't need.
>>
>> HTH
>>
>> Yves Barbion
>>
>> On Thu, Oct 29, 2015 at 4:34 PM, Chris Morton <salt -dot- morton -at- gmail -dot- com>
>> wrote:
>>
>>> Hi All,
>>>
>>> On aWin7 box, I need to create a list of docs within a very extensive
>>> folder\subfolder hierarchy.
>>>
>>> I need the subfolder location, filename and timestamp, but nothing else.
>>>
>>> At a CMD prompt, I know how to redirect a DIR /S to a TXT file.
>>>
>>> Can I maybe pipe the command through a FILTER on its way to the TXT file?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Visit TechWhirl for the latest on content technology, content strategy and content development | http://techwhirl.com

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

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


Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwhirl.com/email-discussion-groups/ for more resources and info.

Looking for articles on Technical Communications? Head over to our online magazine at http://techwhirl.com

Looking for the archived Techwr-l email discussions? Search our public email archives @ http://techwr-l.com/archives


Follow-Ups:

References:
Need advanced DIR list: From: Chris Morton
Re: Need advanced DIR list: From: Yves Barbion
Re: Need advanced DIR list: From: Chris Morton

Previous by Author: Re: PDF filenames - include release designation ?
Next by Author: Re: PDF filenames - include release designation ?
Previous by Thread: Re: Need advanced DIR list
Next by Thread: Re: Need advanced DIR list


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

Sponsored Ads


Sponsored Ads