Windows 10: Directory Name Invalid error

Discus and support Directory Name Invalid error in Windows 10 Network and Sharing to solve the problem; 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... Discussion in 'Windows 10 Network and Sharing' started by Emily J2002, Mar 1, 2021.

  1. 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 but it says it is up to date. Also, the beginning of the error message code is C:\.

    I am able to open the files from the file explorer.

    :)
     
    Emily J2002, Mar 1, 2021
    #1

  2. The directory name is invalid

    Hi David,

    Since you have rebuilt your computer, it may have made some changes or installed some updates that might be causing the error message "G: \The directory name is invalid". However, let's check if there is a device that you can remove in Safely Remove Hardware
    utility. Follow these steps to access the utility:

    • Press the Windows icon + R on your keyboard.
    • Copy and paste this 'RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll".
    • Remove any device that you'll see in the utility.
    • Restart your computer, then observe if the issue will occur again.

    We're looking forward to your feedback.
     
    Carlos Tin, Mar 1, 2021
    #2
  3. 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, Mar 1, 2021
    #3
  4. Bree Win User

    Directory Name Invalid error

    Cannot Delete Empty Folder "Directory Name is Invalid"

    Did you actually succeed in renaming it, or did it fail with the 'invalid' error?

    Perhaps you can delete it by using its 8.3 name. Open a command prompt, then type cd Desktop to go into that directory. Now type dir /x to list the 8.3 names as well as the long names. Now try deleting it using its 8.3 short name.
     
    Bree, Mar 1, 2021
    #4
Thema:

Directory Name Invalid error

Loading...
  1. Directory Name Invalid error - Similar Threads - Directory Name Invalid

  2. "The directory name is invalid" error popup

    in Windows 10 Drivers and Hardware
    "The directory name is invalid" error popup: I am getting random error popup window "The directory name is invalid" with different drive letters. Anyone know how to fix this problem [img] [img] 175711
  3. "The directory name is invalid" error popup

    in Windows 10 Support
    "The directory name is invalid" error popup: I am getting random error popup window "The directory name is invalid" with different drive letters. Anyone know how to fix this problem [img] [img] 175711
  4. 'Directory name is invalid' error

    in Windows 10 Network and Sharing
    'Directory name is invalid' error: Just recently, the past 2 or 3 days, I have been getting this error when selecting items from my desktop. If I go to the directory and select the file, it works fine. It seems to have started after I removed my desktop from onedrive....
  5. Error message is "D:\the directory name is invalid"

    in Windows 10 Drivers and Hardware
    Error message is "D:\the directory name is invalid": Having problems with playing my external dvd player. Error message is "D:\the directory name is invalid". How do I fix this? https://answers.microsoft.com/en-us/windows/forum/all/error-message-is-dthe-directory-name-is-invalid/e389ba4a-9273-417f-835a-809a6c8e19c3
  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 ?

    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
  8. 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....
  9. The Directory Name Is Invalid

    in Windows 10 Support
    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...
  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...