The solution to the problem that the exe file cannot be opened is as follows:
Add regeditThe exe was renamed to regeditcom or regeditscr。
Run regeditcom, find the hkey classes root exefile shell open command key, and change the default value to"%1" %*
Reboot and then regeditcom back to regeditexe.
If the above methods can't solve the problem, you can try the following scenarios:
Add cmdThe exe name was changed to cmdcom or cmdscr。
Run cmdcom, enter assocexe=exefile, and then enter ftype exefile="%1" %*
Add cmdcom changed back to cmdexe。
If the exe file won't open due to missing folder options or program errors, etc., you can try the following methods:
Open "Folder Options" in the "Control Panel", select the "File Type" tab, click "New", select "Associated File Type" as "exe" in the pop-up window, and then click "Application" in the "Advanced" option.
If the above method does not work, you can try to fix the exe file association: open the cmd window and enter ftype exefile="%1" %*
If the exe file is missing or corrupted, you can try to copy the corresponding exe file from another machine or use the System Restore feature to fix the problem.
If the problem persists, you can try to import the registry file by running the regedit command under pure dos.
If the problem cannot be solved, it is recommended to consult a professional technician or reinstall the system.
Autumn and Winter Check-in Challenge