Re: Need advanced DIR list

Subject: Re: Need advanced DIR list
From: Chris Morton <salt -dot- morton -at- gmail -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:20:55 -0400

Yes, I know about the */B* switch, but the goal is also to automatically
eliminate the summary lines, too, of which there will be *many*. I was not
ever thinking about doing a line sort in Excel, either, as that would
dramatically alter the result I'm seeking.

I'm not an Excel macro guru, have no interest in becoming one, and was
looking for a quick and dirty CMD line solution.

Thanks, though.

> Chris

On Fri, Oct 30, 2015 at 3:03 AM, Robert Lauriston <robert -at- lauriston -dot- com>
wrote:

> 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 salt -dot- morton -at- gmail -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
>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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


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

Previous by Author: Re: Need advanced DIR list
Next by Author: Re: Need advanced DIR list
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