Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: dir/s/A results come out unreadable in win 8, but not in win xp  (Read 2964 times)

0 Members and 1 Guest are viewing this topic.

Deon

    Topic Starter


    Rookie

    Thanked: 1
    • Experience: Beginner
    • OS: Windows 8
    dir/s/A results come out unreadable in win 8, but not in win xp
    « on: January 18, 2017, 12:44:23 AM »
    Hi, when I run:  dir/s/A c:\FileStructurePrev\ >C:\FileStructure\FileStructureSize.txt
    in windows 8 result in unreadable re file size, see below:
    RESULT!
     Volume in drive C has no label.
     Volume Serial Number is 6EA5-4BCA

     Directory of c:\FileStructurePrev

    2017-01-18  09:23 AM    <DIR>          .
    2017-01-18  09:23 AM    <DIR>          ..
    2016-10-18  09:38 PM            32ÿ032 error messages plus.docx
    2002-10-18  02:19 PM               195 filestruc.bat
    2002-10-18  02:20 PM         1ÿ588ÿ209 filestruc.txt
    2004-03-07  03:26 AM           275ÿ792 FileStrucSize.txt
    RESULT THE FILE SIZE IS UNREADABLE. How do it solve this problem? Thank you.


    DaveLembke



      Sage
    • Thanked: 662
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: dir/s/A results come out unreadable in win 8, but not in win xp
    « Reply #1 on: January 19, 2017, 01:38:55 PM »
    What happens if you run this without passing the output to file. Do you see the ÿ character in the file sizes when its run at command prompt and info passed to display vs to file?

    Code: [Select]
    dir/s/A c:\FileStructurePrev\
    Also where did this Windows 8 come from. Is it a download off the internet which was installed or came with computer? Asking this because I have seen people get Windows off of a torrent and have issues like this.

    Deon

      Topic Starter


      Rookie

      Thanked: 1
      • Experience: Beginner
      • OS: Windows 8
      Re: dir/s/A results come out unreadable in win 8, but not in win xp
      « Reply #2 on: January 19, 2017, 03:37:25 PM »
      This is a genuine package with cd's for 32 and 64bit of microsoft windows 8 prof. Screen display is perfect. When I open the file, it is unreadable.  You can test this by running dir>list.txt in any directory and open the file in that directory list.txt. It is unreadable. Thanks.

      patio

      • Moderator


      • Genius
      • Maud' Dib
      • Thanked: 1769
        • Yes
      • Experience: Beginner
      • OS: Windows 7
      Re: dir/s/A results come out unreadable in win 8, but not in win xp
      « Reply #3 on: January 19, 2017, 03:54:12 PM »
      Works fine here...
      " Anyone who goes to a psychiatrist should have his head examined. "

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: dir/s/A results come out unreadable in win 8, but not in win xp
      « Reply #4 on: January 19, 2017, 03:56:03 PM »
      I tested this in a VM as well, and the output file looks fine. Is your system set to a language other than english? It seems that in your problematic output, the comma's are unicode characters.
      I was trying to dereference Null Pointers before it was cool.

      Deon

        Topic Starter


        Rookie

        Thanked: 1
        • Experience: Beginner
        • OS: Windows 8
        Re: dir/s/A results come out unreadable in win 8, but not in win xp
        « Reply #5 on: January 19, 2017, 10:58:16 PM »
        Problem solved, I changed the language from English(South Africa) to English(UK).
        Result.
        18/10/2016  21:38            32,032 error messages plus.docx
        18/10/2002  14:19               195 filestruc.bat
        18/10/2002  14:20         1,588,209 filestruc.txt
        Thank you.

        patio

        • Moderator


        • Genius
        • Maud' Dib
        • Thanked: 1769
          • Yes
        • Experience: Beginner
        • OS: Windows 7
        Re: dir/s/A results come out unreadable in win 8, but not in win xp
        « Reply #6 on: January 20, 2017, 07:13:49 AM »
        Nice catch BC Programmmer...
        " Anyone who goes to a psychiatrist should have his head examined. "

        DaveLembke



          Sage
        • Thanked: 662
        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 10
        Re: dir/s/A results come out unreadable in win 8, but not in win xp
        « Reply #7 on: January 20, 2017, 09:30:53 AM »
        Yes nice catch ...  :) I didnt even think about that. I saw the ÿ character as corruption vs a write to file translation of unicode. Learned something new.  8)