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:16:43 -0400
Yes, I am long-term friends with Jason Helmick, who has a number of
PowerShell videos up on Microsoft's site in which he probes the tool along
with its creator, Jeffrey _________.
I fully agree that I could likely cobble something together in PowerShell,
but was looking for a quick and dirty CMD method. I know one exists from
having been a DOS maven back in the day, but those skills have.become.very.
I could also knock something together using Winbatch, but those skills
Will try the FOR IN DO loop suggested.
On Thu, Oct 29, 2015 at 11:11 PM, Stuart Burnfield <slb -at- westnet -dot- com -dot- au>
> PowerShell is the .NET-based command shell and scripting language
> included in Windows versions since XP SP2. To my ageing eyes it looks
> like a sincere 21st Century attempt by Microsoft to emulate the
> richness, power and flexibility of the UNIX shell environment and
> utilities and the Software Tools philosophy.
> It's probably vast overkill for Chris to learn this just to solve his
> immediate DIR filtering need. But longer term, PowerShell looks like
> an excellent tool for creative TWs who want to do more than what
> Windows gives them out of the box. It does what Cygwin does but you
> shouldn't need anyone's approval to install it.
> Download the Quick Reference card:
> --- Stuart, who thinks that Ken Thompson, Dennis Ritchie and Brian
> Kernighan should get the Nobel Prize for Practical Awesomeness
> Chris Morton wrote:
> On aWin7 box, I need to create a list of docs within a very
> foldersubfolder 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?
> Peter Neilson replied:
> Being a Unix person since too many years ago, I make sure that
> Windows box I use has Cygwin installed if at all possible.
> Cygwin gives
> one the feeling of a Unix shell, so I can simply use the ls
> and (if necessary) pipe the result through sed, awk, grep, or
> This method fails if (1) you don't know anything about Unix or
> Linux, or
> (2) you are not allowed to install Cygwin.
> 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