Author Topic: Missing "New Text Document" Context Menu Item in MultiCommander on Windows 11  (Read 1549 times)

GaryM

  • Newbie
  • *
  • Posts: 4
    • View Profile
Hi all! One of the first things I noticed when running MultiCommander on Windows 11 (v23H2) is the absence of "Text Document" on the cascading "New" line of the right-click context menu. After more tinkering than I'd like to admit, I arrived at 3 small registry entries that solve the problem with no apparent ill effects on the proper functioning of other file managers that already include this standard Windows shell feature. These entries are specifically for Windows 11, since prior editions use a "txtfile" registry key instead of the "txtfilelegacy" key introduced in Windows 11. So here's what I came up with:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.txt\ShellNew]
"NullFile"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\txtfilelegacy]
@="Text Document"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\txtfilelegacy\DefaultIcon]
@="%SystemRoot%\\system32\\imageres.dll,-102"



Context menu before registry additions:





Context menu after registry additions:

« Last Edit: April 13, 2025, 12:04:30 by GaryM »

User_99

  • Active Member
  • ***
  • Posts: 90
    • View Profile
Thx, will check asap.

No double item in default Windows File Explorer?

Matthias515566

  • Power Member
  • ****
  • Posts: 333
    • View Profile
I don't want this button in the context menu, but rather as a custom keyboard shortcut in MultiCommander. Also, I would like to have a print button as well.

GaryM

  • Newbie
  • *
  • Posts: 4
    • View Profile
Thx, will check asap.

No double item in default Windows File Explorer?

No double here, but it's possible you might end up with repetition if you've already fixed this issue another way.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4630
    • View Profile
    • Multi Commander
Windows 11 has changed. This is handled in a new way for Win11 that are not really documented.

But I added a workaround for the next version for MC. A "New Text Document" item will be added even if there is not one defined in registry.