1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to? Creation and modification dates on one line?

Discussion in 'Support' started by dcantor, Jan 12, 2013.

  1. dcantor

    Joined:
    May 29, 2008
    Messages:
    507
    Likes Received:
    3
    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. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,938
    Likes Received:
    30
    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)
     
  3. dcantor

    Joined:
    May 29, 2008
    Messages:
    507
    Likes Received:
    3
    Thanks!
     

Share This Page