Windows 10: The Directory Name Is Invalid

Discus and support The Directory Name Is Invalid in Windows 10 Support to solve the problem; OK, here's my situation. I have a Western Digital (WD) My Passport Ultra external USB hard drive. I use this as a media drive on my WD TV Live Plus... Discussion in 'Windows 10 Support' started by claytoncarney, Feb 3, 2017.

  1. The Directory Name Is Invalid


    OK, here's my situation. I have a Western Digital (WD) My Passport Ultra external USB hard drive. I use this as a media drive on my WD TV Live Plus media player. For some unknown reason, the media player will sometimes corrupt files on the My Passport drive. The net effect is that a file is somehow changed into a directory.

    The problem is when I attempted to delete/remove the corrupted file/directory, I receive a 'The directory name is invalid.' error.

    I've tried the following:

    • Run chkdsk /f; no errors found.
    • Run WD Drive Utilities diagnostics; no errors found.
    • Checked dir /x looking for an 8.3 filename; no luck.
    • Taken ownership of the directory; no luck.
    • Tried a few file unlocker utilities; no luck (not reported as locked and delete fails).
    • Even tried an NTFS disk editor; no luck.
    I've spent the last three hours googling a solution. Nothing!

    Anyone else ever encountered something similar and found a solution?

    :)
     
    claytoncarney, Feb 3, 2017
    #1

  2. The directory name is invalid.

    Windows 10 did an update last night... and now I cant open any files on the NAS. I can see the folders but cant open files within the folder.

    same goes for google drive.

    I can open files on drop box though...
     
    SeanDingley, Feb 3, 2017
    #2
  3. The directory name is invalid.

    Hi,

    This could be a compatibility issue with NAS (Network-attached storage). There's a lot of improvement happened in Windows 10. We recommend you to send a feedback using the Feedback Hub app. This feedback is collated and reviewed by our product
    specialists, and can be a candidate for future release.

    Refer to this link on how to Send feedback to Microsoft with the Feedback Hub app.

    We look forward to your response.
     
    Marvelos Reg, Feb 3, 2017
    #3
  4. The Directory Name Is Invalid

    Well, I just tried IObit Unlocker and that successfully deleted the directory.

    I am still interested in knowing about any native solution that does not required a third-party utility...
     
    claytoncarney, Feb 3, 2017
    #4
  5. Fafhrd Win User
    It used to happen in the old MSDOS days regularly - file and directory names would get corrupted and you had to do tricks with wildcard characters to get them deleted.

    Like with a file or folder that had one readable x in the 7th position of the 8 character filename, and the rest gibberish - sometimes it worked.
    ren *x?.* ffffffx?.*
    del f*.*
    rmdir or rd f*.* /s
    deltree f*.*
    etc.
     
    Fafhrd, Apr 4, 2018
    #5
Thema:

The Directory Name Is Invalid

Loading...
  1. The Directory Name Is Invalid - Similar Threads - Directory Name Invalid

  2. the directory name is invalid

    in Windows 10 Gaming
    the directory name is invalid: after windows 10 install i get this message when i try to use my cd dvd playrt https://answers.microsoft.com/en-us/windows/forum/all/the-directory-name-is-invalid/c926c407-ebdd-4730-91de-be27bec8ff9e
  3. the directory name is invalid

    in Windows 10 Software and Apps
    the directory name is invalid: after windows 10 install i get this message when i try to use my cd dvd playrt https://answers.microsoft.com/en-us/windows/forum/all/the-directory-name-is-invalid/c926c407-ebdd-4730-91de-be27bec8ff9e
  4. the directory name is invalid

    in Windows 10 Drivers and Hardware
    the directory name is invalid: after windows 10 install i get this message when i try to use my cd dvd playrt https://answers.microsoft.com/en-us/windows/forum/all/the-directory-name-is-invalid/c926c407-ebdd-4730-91de-be27bec8ff9e
  5. Directory Name Invalid error

    in Windows 10 Network and Sharing
    Directory Name Invalid error: Every time i try to open any file on my desktop word files, pdfs, etc the error message "The directory name is invalid" appears. Most of the time this issue appears with external drives and USB and not with the actual computer's drive itself. I have tried updating the drive...
  6. The Directory Name Is Invalid

    in Windows 10 Drivers and Hardware
    The Directory Name Is Invalid: Today I updated this laptop. Now all I see for the last 5 hours is this message: The directory name is invalid error message won't stop since I updated this PC from Windows 7 to Windows 10. What do I have to clear or change or reset to get this to stop showing up,...
  7. The Directory Name is Invalid - Macrium

    in Windows 10 Backup and Restore
    The Directory Name is Invalid - Macrium: [img] Anybody else seeing this old issue from v4 and v5 in v7.2.4524 and higher mounted images browsed on different 1909 PC's when attempting to open the file? Macrium Support Forum - The Directory Name is Invalid The Directory Name is Invalid - Macrium Support Hi...
  8. The directory name is invalid ?

    in Windows 10 Drivers and Hardware
    The directory name is invalid ?: Does anyone know the solution for the error 'The directory name is invalid '? I get this error whenever I put a cd or dvd in the cd/dvd rom drive. https://answers.microsoft.com/en-us/windows/forum/all/the-directory-name-is-invalid/ec110e94-85e6-470b-b771-45b5ff46e3cc
  9. E:\ The directory name is invalid

    in Windows 10 Support
    E:\ The directory name is invalid: I am running Windows 10. I had a USB stick in the computer. After an update-restart, I ejected the USB drive, and now my computer is slow after idling and there was a nagging message that asserts itself. First it was something about what do you want me with removable drive E....
  10. directory name is invalid

    in Windows 10 Support
    directory name is invalid: Hi I have just got this new desktop pc. After an update I am getting this annoying message, E:/ The directory name is invalid. I don't know what I have done. I did anything. I searched Google and found a post on this forum but I can't find the actual answer to the post. Just...