Where is the mistake?

[HKEY_CLASSES_ROOT\*\Shell] @="C:\Documents and Settings\Admin\Мои документы\Rnote_\Rnote.exe" [HKEY_CLASSES_ROOT\*\Shell\notepad] @="Open with Rnote2" [HKEY_CLASSES_ROOT\*\Shell\notepad\Command] @="C:\Documents and Settings\Admin\Мои документы\Rnote_\Rnote.exe" 

When you turn on (register) the register in the database, the files are opened through the "Browse", and not by the program, in the context menu of Windows.

    2 answers 2

    All right, there is not enough file name transfer in% 1

     [HKEY_CLASSES_ROOT\*\Shell] @="C:\Documents and Settings\Admin\Мои документы\Rnote_\Rnote.exe" [HKEY_CLASSES_ROOT\*\Shell\notepad] @="Open with Rnote2" [HKEY_CLASSES_ROOT\*\Shell\notepad\Command] @="C:\Documents and Settings\Admin\Мои документы\Rnote_\Rnote.exe %1" 

    Better notepad replace with rnote. Otherwise, when adding additional items, you will get confused.

      In the section HKEY_CLASSES_ROOT\ *\ Shell\ create a section with any name, say Command1 (the value of the string parameter "Command 1"), in this section create a section Command. The value of the string parameter set equal to your team.

      For example, to create the "Open Notepad" command, the line is as follows:

      HKEY_CLASSES_ROOT\ *\ Shell\ Command1\ Command = "Notepad "%1""