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

pdir ignores pm

Discussion in 'Support' started by David Marcus, Jun 4, 2016.

  1. David Marcus

    Joined:
    Jun 4, 2008
    Messages:
    648
    Likes Received:
    1
    I would have thought that pdir would give the hour using a 24 hour clock, but it doesn't seem to:
    Code:
    C:\Junk>touch /c Foo.txt
    6/04/2016 14:57:20.036  C:\Junk\Foo.txt
    C:\Junk>dir
    Volume in drive C is unlabeled      Serial number is c070:3990
    Directory of  C:\Junk\*
    6/04/2016   2:57p              0  Foo.txt
                       0 bytes in 1 file and 0 dirs
         372,155,068,416 bytes free
    C:\Junk>pdir /(thms)
    025720
    C:\Junk>
    TCC 19.10.50 x64 Windows 10 [Version 6.3.10586]
     
  2. dcantor

    Joined:
    May 29, 2008
    Messages:
    507
    Likes Received:
    3
    Works for me using TCC 17 on Windows 7 Pro:

    Code:
    ~\Work> dir x.tmp
    
     Volume in drive C is Windows7_OS    Serial number is a40e:43cf
     Directory of  C:\Users\DCantor\Work\x.tmp
    
    06-02-2016  23:18             520  x.tmp
                   520 bytes in 1 file and 0 dirs    4,096 bytes allocated
       355,917,348,864 bytes free
    
    ~\Work> pdir /(f thms) x.tmp
    x.tmp 231859
    
    
     
  3. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,971
    Likes Received:
    30
    Yes, but apparently your default time format is 24-hour. David seems to use the AM/PM format, and while DIR says "2:57p", PDIR says "025720". They don't seem to agree.
     

Share This Page