How to? Creation and modification dates on one line?

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
May 29, 2008
516
3
Groton, CT
#1
Is there any way to get a directory listing of filenames with both the creation and modification datetimes on the same line?

I tried something like
Code:
PDIR /T:C /(f dymd th:m:s) /T:W /(f dymd th:m:s) x.tmp
but that just listed the write time twice.
 
#2
From PDIR's help:
Code:
Note: If more than one time type is specified, the first one specified is used, and all subsequent ones ignored.
But this works:
Code:
pdir /(@filetime[*,w] @filetime[*,c] fn)