How to change the default application for the "Change" and "Print" actions from the context menu in Windows XP?

I have two computers with xp windows (maybe the Windows version doesn't matter, but anyway):

  • Click print for the first time, and then print preview opens in NotePad ++
  • In the second, it opens in the standard MS Notepad, which cannot process a large file

I do not know how it was configured on the first computer to do a print preview in NotePad ++, but I would like to have the same thing on the second computer.

Are there any registry settings / keys for definition? I have already searched the registry using regedit to find where NotePad ++ is installed as the default application but nothing related to the print service. A.

Does anyone know how to install Notepad not only as the default program to open the file (it's easy), but also how to install it as the default preview program ?

Update 1:

just found that the same parameter can be for the "Edit" parameter (from the context menu, ie right-click β†’ "Edit")

Update 2:

sounds like this problem: [http://superuser.com/questions/68852/change-windows-7-explorer-edit-context-menu-action-for-jpg-and-other-image-fil] But I don’t I want to install a third-party application. It should be configured with standard parameters, I think

+6
source share
1 answer

First, determine the file type of your file - say, myfile.foo:

assoc .foo 

This wil prints something like

 .foo=foofile 

Then open regedit and go to HKEY_CLASSES_ROOT\foofile\shell . There you will see subsections like open\command and print\command . Change the default value of the print command to whatever you like and you're done.

+3
source

Source: https://habr.com/ru/post/950554/


All Articles