Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

How to? Creation and modification dates on one line?

May
572
4
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.
 
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)
 
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)
Thanks!
 
Back
Top