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: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,
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>* *>
> On Thu, Oct 29, 2015 at 11:41 AM, Yves Barbion <yves -dot- barbion -at- gmail -dot- com>
>> Hi Chris
>> I usually open this txt file in Excel, convert the text to columns and
>> then delete the columns I don't need.
>> Yves Barbion
>> On Thu, Oct 29, 2015 at 4:34 PM, Chris Morton <salt -dot- morton -at- gmail -dot- com>
>>> 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