Multi Commander > Support and Feedback

Missing "New Text Document" Context Menu Item in MultiCommander on Windows 11

(1/1)

GaryM:
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:

User_99:
Thx, will check asap.

No double item in default Windows File Explorer?

Matthias515566:
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:

--- Quote from: User_99 on April 13, 2025, 14:09:54 ---Thx, will check asap.

No double item in default Windows File Explorer?

--- End quote ---

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

Mathias (Author):
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.


Navigation

[0] Message Index

Go to full version