When you select "View> source file" in Internet Explorer or right-click to view the source file, you can jump to the desktop without displaying the source code.
Solution.
1. Clear the Temporary Folder directory of the system, right-click IE, select "properties", and click "delete file" on the "General" tab.
2. If notepad.exe is lost or damaged, you can copy a copy from another machine and restore it to the c: \ windows \ system32 directory.
3. If a problem occurs with the third-party text editing software, re-associate it, or reinstall the software.
4. If none of the above solutions are available, open registry editor and find [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Internet Explorer \ View Source editor \ editor name]. in the right pane, set the "default" value to the absolute path of the webpage source code editor.
For example, c: \ windows \ system32 \ notepad.exe.
An error occurred while removing an association in the registry. When you wanted to view the webpage source file, the Desktop Folder was opened and the source code of notepad was not displayed.