Share via

Windows 10 DIR command output format changed

Anonymous
2020-01-16T23:18:01+00:00

Due to a recent change in windows 10 ... it seems several commands no longer recognize switches ... that is not an insurmountable problem ... BUT ... the output format of the DIR command changed the format of the output and as such ... all of my scripts that used the format used for the past 20+ years will work now

Can someone tell me if there is a way to force Windows 10 Pro to output to use the old format?

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Igor Leyko 111K Reputation points Independent Advisor
2020-01-17T01:03:40+00:00

Hi Kevin,

seems there was some data damage in memory so the format was changed. Reboot caused reload all data to memory so the problem was gone.

Do you use fast boot? Unfortunately this mode may accumulate different faults so the first needed to be tried to recover is clean reboot - with pressed Shift when one selects Reboot command.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Anonymous
    2020-01-17T01:11:23+00:00

    In this case ... I did not use fast boot ... I actually power cycled

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2020-01-17T00:00:35+00:00

    I am not sure what happened ... but it is working now ...

    I am an engineer for Oracle ... and I really dont like not being able to explain how something failed ... and then suddenly started working again

    I did two things ...

    1. I restored some of my personal files from backup which were needed for my scripts 
    2. I checked to see if there were yet still more updates needed ... there were not .... so I rebooted the machine one more time ... after which ... my scripts started working again

    For now .... I am just glad that things are working again

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2020-01-16T23:40:34+00:00

    Until Recently ... the DIR command used to list the full path name along with the first column being the date last modified

    Here is an example from the web ... that I had to look up ... as the format changed TOD

    C:\>dirVolume in drive C has no label.Volume Serial Number is F4AC-9851Directory of C:\09/02/2015 12:41 PM <DIR> $SysReset05/30/2016 06:22 PM 93 HaxLogs.txt05/07/2016 02:58 AM <DIR> PerfLogs05/22/2016 07:55 PM <DIR> Program Files05/31/2016 11:30 AM <DIR> Program Files (x86)07/30/2015 04:32 PM <DIR> Temp05/22/2016 07:55 PM <DIR> Users05/22/2016 08:00 PM <DIR> Windows05/22/2016 09:50 PM <DIR> Windows.old1 File(s) 93 bytes8 Dir(s) 18,370,433,024 bytes free
    

    Here is the NEW format

     C:&gt; dir

        Directory: C:\

    Mode                LastWriteTime         Length Name

    ----                -------------         ------ ----

    d-----        3/18/2019  10:52 PM                PerfLogs

    d-r---         1/8/2020   6:50 PM                Program Files

    d-r---        1/13/2020   3:03 PM                Program Files (x86)

    d-----       12/18/2019  10:47 AM                Quarantine

    d-r---         1/8/2020   6:55 AM                Users

    d-----         1/8/2020  11:31 AM                Windows

    d-----         1/8/2020   7:03 AM                Windows.old

    -a----        6/16/2019   8:01 AM            206 audio.log

    -a----        1/16/2020   6:58 AM           1666 CosairDram.txt

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2020-01-16T23:28:59+00:00

    The format of the Dir command has not changed since Windows 2000. If you tell the forum what format you expect then someone will tell you how to obtain it.

    Was this answer helpful?

    0 comments No comments