In Vista, double-click the TXT file and use NotePad to enable automatic printing (solved ).

Source: Internet
Author: User

Symptom: 1-double-click TXT and use NotePad to open the result and print it automatically.

2-click the TXT file in Windows Explorer, and two print buttons appear on the Vista ribbon toolbar. The icon of one print button is notepad.

 

Solution: Go to the Registry and find that hkey_classes_root \ txtfile \ shell \ only has two keys: Print and printto, but the open key is missing. Therefore, add the open \ command key and set (default) the key value is changed to % SystemRoot % \ system32 \ notepad. EXE % 1

Note: If you directly create an open \ command key under shell, the (default) Type of the key value is REG_SZ, And the type required here is reg_expand_sz, which cannot be directly modified (default) you cannot create a reg_expand_sz key or change the key name to @ by exporting the registry. As follows:

 

[Hkey_classes_root \ txtfile \ shell]

[Hkey_classes_root \ txtfile \ shell \ open]

[Hkey_classes_root \ txtfile \ shell \ open \ command]
@= Hex (2): 25, 00, 53,00, 79,00, 00, 6d, 00, 6f, 00, 6f ,\
, 25, 00, 5C, 79, 00, 00, 6d, 00, 00, 5C, 00, 4E, 00 ,\
4f, 31 ,\
00, 00

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.