Win7 double-click text file will directly print the reason and solution

  
 

Windows
7 system computer
, there is such a problem, that is, when you double-click a text file, it will start printing directly instead of opening the document. What is going on? ? A: This should be some software tampering or misuse to modify the system settings, resulting in the default option for text files from "Open" to "Print", if you right click on the text file, you can find this. The default option in the right-click menu, which is the bold first option, is now “Print” instead of the normal "open”. The solution is as follows: Click the “Start” button, enter “regedit.exe” in the search box to find the registry editor, right click and select "Run as administrator", open “ Registry Editor” . Navigate to "HKEY_CLASSES_ROOT\\txtfile\\shell\\open\\command”, then change the value data of the “default” item in the right window to “%SystemRoot%\\system32\\NOTEPAD.EXE %1” Close “Registry Editor”. Double-clicking the text file will open it without printing.

Copyright © Windows knowledge All Rights Reserved