Maybe there's a way to do this that I haven't figured out yet, but it would sure be nice if I could do a PDir on multiple wildcard patterns without going to the trouble of writing a full-fledged regular expression. (I've been exposed to so many regular expression syntaxes over the years that I'm no longer able to keep them straight in my mind.) Specifically, I often do a PDir like this to find a particular spreadsheet that I'm interested in:
but I'd also like to do it (and combine the output into a single composite) with a PDir like this:
As of yet I haven't found a way to do this except by executing both PDir's individually concatenating their outputs into a single temporary work file which is kind of a pain because it involves multiple steps (including remembering to delete the work file when done).
Is there an easy way to do this? If so, how?
Code:
PDir *.xls /s /A-D /(dy/m/d th:m:s zc fpn) | Sort | List
Code:
PDir *.cvs /s /A-D /(dy/m/d th:m:s zc fpn) | Sort | List
Is there an easy way to do this? If so, how?