I had an egg today. Clear the right-click menu, and then, at some point, use everything's "double-click Path column to open Directory" feature when you find an exception:
[Window Title] Everything.exe[content] The file does not have an app associated with it to perform the operation. Please install the app and, if the app is already installed, create an association on the default app Settings page. Determine
The next self-help process is really tortuous, the middle of the everything is called the Windows API shopenfolderandselectitems failed to cause this error (Automatically open folder Again with "Open path with double click").
I even found a copy of the code on the Internet that could invoke the API, and there was an almost identical error window when running the test code.
1 #!python32 #Https://stackoverflow.com/questions/20565401/how-to-access-shopenfolderandselectitems-by-ctypes3 4 ImportWin32API5 fromWin32com.shellImportShell, Shellcon6 ImportOS7 8 deflaunch_file_explorer (path, files):9 " "Ten Given a absolute base path and names of its children (no path), open One Up one File Explorer window with all of the child files selected A " " -Folder_pidl =Shell. Shilcreatefrompath (path,0) [0] -Desktop =Shell. Shgetdesktopfolder () theShell_folder =Desktop. BindToObject (Folder_pidl, None,shell. Iid_ishellfolder) -name_to_item_mapping = Dict ([Desktop. GetDisplayNameOf (item, Shellcon. Shgdn_forparsing|shellcon. Shgdn_infolder), item) forIteminchShell_folder]) - Print("name_to_item_mapping: {0}". Format (name_to_item_mapping)) -To_show = [] + forFileinchFiles: - ifFileinchname_to_item_mapping: + to_show.append (Name_to_item_mapping[file]) A Else: at RaiseException ('File: '%s ' not found in '%s ''%(file, path)) - - Print("to_show: {0}". Format (to_show)) - Print("Call Shopenfolderandselectitems ()") -result =Shell. Shopenfolderandselectitems (folder_pidl, to_show, 0) -Last_error =Win32API. GetLastError () in Print("Shopenfolderandselectitems returned {0}". Format (result)) - toP=r'Z:\SHARE' + Print(Os.listdir (p)) -Launch_file_explorer (P, Os.listdir (p))
At this point in fact, the final answer is not far away, but I did not find out in time, tossing to the late even doubt is not the registry caused problems, after all, have already tried to restore the right-click menu back.
Until you try to restore the system and fail, five mixed to look at the window while backing up the file.
Since it could be a failure to operate the registry, it might be possible to find a OK registry to compare it to.
Then export the hkey_classes_root\folder from another normal Windows PC, compared to the file exported by the faulty machine here:
Kill the none after deleting the failure to successfully exclude!
At this time recall the problem API Shopenfolderandselectitems name with Folder , really blue thin ...
[WINDOWS10] to fix a registry related murder: The file does not have an app associated with it to perform the operation. Please install the app and, if the app is already installed, create an association on the default app Settings page.