Differences in format of DOS command results


  1. Posts : 68
    Windows 10
       #1

    Differences in format of DOS command results


    OK, so I am doing some stuff in DOS, not geeky stuff but playing around. I have two computers that I can use, both with W10. So, I do a 'DIR' command, saving to a file, and then look at it. Then same again on the other computer.

    It annoys me that the format of the results is not the same; specifically, there is a shift of one position/character in the file listings. I am wondering why this is happening as it is annoying.

    I realise that this could possibly be due to a W10 setting but have not been able to find out what that might be.

    Any ideas anyone? I cannot believe that this is a 'real' difference between the two W10 versions!
      My Computer


  2. Posts : 8,107
    windows 10
       #2

    Not clear what the difference is. Windows CMD isn't exactly the same as MS-DOS which loaded command.com Windows now loads CMD.exe you can use switch's like dir /w dir / w etc
      My Computer


  3. Posts : 7
    Windows 10 64-bit
       #3

    Have a copy of the folder on both computers.
    Run your dir {parameters} >list.txt command on both, outputting to a text files - say list1.txt & list2.txt

    Compare the two files using a command like the following:
    fc /b list1.txt list2.txt

    You should get:
    Comparing files list1.txt and list2.txt
    FC: no differences encountered

    If your display shows them differently, it will be a font and type size issue... maybe even screen resolution.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:01.
Find Us




Windows 10 Forums