Windows 10: Cannot open files from saved search - "The directory name is invalid"

Discus and support Cannot open files from saved search - "The directory name is invalid" in Windows 10 BSOD Crashes and Debugging to solve the problem; Since the 2008-08 Cumulative Update Preview KB4571744 installed earlier today, I have been unable to open files directly from saved searches in Windows... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by UnlikelyMoniker, Aug 27, 2020.

  1. Cannot open files from saved search - "The directory name is invalid"


    Since the 2008-08 Cumulative Update Preview KB4571744 installed earlier today, I have been unable to open files directly from saved searches in Windows Explorer.


    The problem exists with all my saved searches. All the files are shown but when I try to open any of them, I get an error message showing the correct file path my local hard disk C: drive and relevant subfolders and the message "The directory name is invalid".


    It is not actually invalid because, if I go to the file's actual location using the context menu of the file shown in the saved search, that directory opens up and I can open the file as expected.


    This behavior only exhibits if the search is saved. Files found by typing new searches into the search box can be opened as expected from the list of search results. But if I save the search and try again, I get the "invalid directory" error message.


    The saved searches in question have worked perfectly for a long time.


    I will try uninstalling the KB4571744 and 4576754 Microsoft Edge updates to see whether the problem goes away, and will report back. In the meantime, has anyone else come across this.

    :)
     
    UnlikelyMoniker, Aug 27, 2020
    #1

  2. 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, Aug 27, 2020
    #2
  3. 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, Aug 27, 2020
    #3
  4. Bree Win User

    Cannot open files from saved search - "The directory name is invalid"

    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.
     
Thema:

Cannot open files from saved search - "The directory name is invalid"

Loading...
  1. Cannot open files from saved search - "The directory name is invalid" - Similar Threads - Cannot open files

  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. Saved file search generates "Directory name is invalid" error message

    in Windows 10 Network and Sharing
    Saved file search generates "Directory name is invalid" error message: I have a group of users that are joined to a domain. They reported that when they save file search and then try to open files from this file search they get the directory name invalid error. I have verified this and even found that the issue will persist whether the saved...
  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...

Users found this page by searching for:

  1. ms saved aearch directory invalid