Able to find directory with 8dot3 naming convention but not files

Page 2 of 2 FirstFirst 12

  1. Posts : 5,330
    Windows 11 Pro 64-bit
       #11

    Do you get any error message when you use Dir command with 7ZAEXE~1.BAT short name?

    Are you running the batch script or Command Prompt as a administrator?

    What happens when you execute below command?


    Code:
    Dir  C:\PROGRA~1


    Lets also repair any NTFS file system errors.

    Please open the Command Prompt by typing cmd.exe into Start Menu, right-click on Cmd.exe, and open it as an administrator.

    Execute below command:


    Code:
    Chkdsk  C:  \f
      My Computer


  2. Posts : 10
    Windows 10
    Thread Starter
       #12

    I get the directory listing when I do dir c:\progra~1.
      My Computer


  3. Posts : 5,330
    Windows 11 Pro 64-bit
       #13

    That means there is a problem with 7ZAEXE~1.BAT short name.

    Also execute Chkdsk tool maybe its a file system error.
      My Computer


  4. Posts : 10
    Windows 10
    Thread Starter
       #14

    The file is there though:

    C:\Users\xxx09c>dir /X C:\Users\xxx09c\AppData\Local\Temp\CCS_78~1\util\
    Volume in drive C is Windows
    Volume Serial Number is

    Directory of C:\Users\xx09c\AppData\Local\Temp\CCS_78~1\util
    02/02/2018 02:16 PM <DIR> .
    02/02/2018 02:16 PM <DIR> ..
    02/02/2018 11:01 AM 274 7ZAEXE~1.BAT 7zaexemy.bat
      My Computer


  5. Posts : 5,330
    Windows 11 Pro 64-bit
       #15

    Does Dir command give you error message when you use the 7ZAEXE~1.BAT short name?

    Also try Type command to see if it gives you error message.

    Code:
    Type  C:\Users\xxx09c\AppData\Local\Temp\CCS_78~1\util\7ZAEXE~1.BAT
      My Computer


  6. Posts : 5,330
    Windows 11 Pro 64-bit
       #16

    Can you also make sure 7ZAEXE~1.BAT batch file is not been blocked by your antivirus program.
      My Computer


  7. Posts : 10
    Windows 10
    Thread Starter
       #17

    Yes, dir does not find the file with the short name. It's not being blocked by the antivirus program either.
      My Computer


  8. Posts : 5,330
    Windows 11 Pro 64-bit
       #18

    There is no Windows 10 setting that is disabled blocking your access to that file using short name of the file. If there was such a Windows 10 setting that is disabled then you should also not able to use Dir PROGRA~1 command which you can without error.
      My Computer


  9. Posts : 10
    Windows 10
    Thread Starter
       #19

    Ok. I will let you know if the chkdsk helps. Thank you.
      My Computer


  10. Posts : 5,330
    Windows 11 Pro 64-bit
       #20

    You are very welcome!
      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 17:14.
Find Us




Windows 10 Forums