TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
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.
On Fri, Oct 30, 2015 at 3:03 AM, Robert Lauriston <robert -at- lauriston -dot- com>
> 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>
> > 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
> >>> 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
> 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
> 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