Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: User_99 on September 30, 2022, 16:53:08

Title: Context menu "new" Windows 11 22H2 22621.521
Post by: User_99 on September 30, 2022, 16:53:08
Hi Mathias,

first pic is default Windows Explorer menu, second is MultiCommander menu.
Miss some items for "new"
1. Bitmap
2. Text file

Hint: Clean install of Windows 11 - no upgrade from Windows 10
Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: Mathias (Author) on October 04, 2022, 08:13:12
Hard to say why they do not show up for you. I get them to show up on all my machines.
All 'new items' for the shell context menu are parsed from the registry (HKEY_CLASSES_ROOT) depending on if they have a ShellNew/ entry.. eg   

HKEY_CLASSES_ROOT\.bmp\ShellNew\
or
HKEY_CLASSES_ROOT\.txt\ShellNew\

There is also one other way Apps add a ShellNew item bu adding a reference to default item and then have ShellNew under that..


Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: User_99 on October 16, 2022, 09:18:50
OK, these items are not available.

What is the correct syntax eg. for .txt?

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.txt\ShellNew]
"FileName"="C:\Windows\notepad.exe"
Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: AlanJB on October 16, 2022, 16:43:47
For HKEY_CLASSES_ROOT\.txt\ShellNew\:

the Key (type REG_EXPAND_SZ) name is: ItemName

data is : @%SystemRoot%\system32\notepad.exe,-470
Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: User_99 on October 21, 2022, 16:33:31
@AlanJB
Thx for your suggestion.

For HKEY_CLASSES_ROOT\.bmp\ShellNew\

the Key (type REG_EXPAND_SZ) name is: ItemName

data is : @%SystemRoot%\system32\notepad.exe,-470

Unfortunatelly it won't work. Reg keys are available, but still missing in context menu.


Found some forum posts for other file commanders like TC or FreeCommander from users with same problem. In both cases the developers solved the problem.

Hint/TC Changelog: Still no entry for .txt files in Context menu-New submenu on Windows because the key HKEY_CLASSES_ROOT\txtfilelegacy was missing a (default) value = description

I really don't know what this "default value" could be.
Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: AlanJB on October 21, 2022, 18:07:17
Hint/TC Changelog: Still no entry for .txt files in Context menu-New submenu on Windows because the key HKEY_CLASSES_ROOT\txtfilelegacy was missing a (default) value = description

I really don't know what this "default) value" could be.

Try
Code: [Select]
Text Document (works for me).
Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: User_99 on October 21, 2022, 20:52:53
Do you have the complete key for me?
Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: AlanJB on October 22, 2022, 13:38:35
Hi @User_99.

Here is the regedit export for HKEY_CLASSES_ROOT\txtfile:
(Default) is Text Document in my case.

Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\txtfile]
@="Text Document"
"EditFlags"=dword:00010000
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
  00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
  32,00,5c,00,6e,00,6f,00,74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,\
  00,2c,00,2d,00,34,00,36,00,39,00,00,00

[HKEY_CLASSES_ROOT\txtfile\DefaultIcon]
@="C:\\Program Files\\IDM Computer Solutions\\UltraEdit\\uedit64.exe,1"

[HKEY_CLASSES_ROOT\txtfile\shell]

[HKEY_CLASSES_ROOT\txtfile\shell\open]

[HKEY_CLASSES_ROOT\txtfile\shell\open\Command]
@="C:\\Windows\\NOTEPAD.EXE %1"

[HKEY_CLASSES_ROOT\txtfile\shell\print]

[HKEY_CLASSES_ROOT\txtfile\shell\print\command]
@=hex(2):22,00,43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,\
  00,46,00,69,00,6c,00,65,00,73,00,5c,00,49,00,44,00,4d,00,20,00,43,00,6f,00,\
  6d,00,70,00,75,00,74,00,65,00,72,00,20,00,53,00,6f,00,6c,00,75,00,74,00,69,\
  00,6f,00,6e,00,73,00,5c,00,55,00,6c,00,74,00,72,00,61,00,45,00,64,00,69,00,\
  74,00,5c,00,75,00,65,00,64,00,69,00,74,00,36,00,34,00,2e,00,65,00,78,00,65,\
  00,22,00,20,00,2f,00,70,00,20,00,22,00,25,00,31,00,22,00,00,00

[HKEY_CLASSES_ROOT\txtfile\shell\printto]

[HKEY_CLASSES_ROOT\txtfile\shell\printto\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
  00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6e,00,6f,00,\
  74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,20,00,2f,00,70,00,74,\
  00,20,00,22,00,25,00,31,00,22,00,20,00,22,00,25,00,32,00,22,00,20,00,22,00,\
  25,00,33,00,22,00,20,00,22,00,25,00,34,00,22,00,00,00


And this is for HKEY_CLASSES_ROOT\.txt:
(Default) is UltraEdit.txt in my case.

Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.txt]
@="UltraEdit.txt"
"Content Type"="text/plain"
"PerceivedType"="text"

[HKEY_CLASSES_ROOT\.txt\OpenWithProgids]
"soffice.StarCalcDocument.6"=" "
"soffice.StarWriterDocument.6"=" "
"UltraEdit.txt"=""

[HKEY_CLASSES_ROOT\.txt\PersistentHandler]
"OriginalPersistentHandler"="{5E941D80-BF96-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.txt\ShellNew]
"ItemName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
  6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
  00,6e,00,6f,00,74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,2c,00,\
  2d,00,34,00,37,00,30,00,00,00
"NullFile"=""

And this is for HKEY_LOCAL_MACHINE\SOFTWARE\Classes\textfile:
(Default) is Text Document in my case.

Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\textfile]
@="Text Document"
"FriendlyTypeName"=hex(2):40,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,\
  00,46,00,69,00,6c,00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,\
  77,00,73,00,20,00,4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,\
  00,72,00,69,00,65,00,73,00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00,44,00,\
  2e,00,45,00,58,00,45,00,2c,00,2d,00,31,00,38,00,39,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\textfile\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\textfile\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\textfile\shell\open\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
  00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,\
  4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,\
  00,73,00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00,44,00,2e,00,45,00,58,00,\
  45,00,22,00,20,00,22,00,25,00,31,00,22,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\textfile\shell\print]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\textfile\shell\print\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
  00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,\
  4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,\
  00,73,00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00,44,00,2e,00,45,00,58,00,\
  45,00,22,00,20,00,2f,00,70,00,20,00,22,00,25,00,31,00,22,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\textfile\shell\printto]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\textfile\shell\printto\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
  00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,\
  4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,\
  00,73,00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00,44,00,2e,00,45,00,58,00,\
  45,00,22,00,20,00,2f,00,70,00,74,00,20,00,22,00,25,00,31,00,22,00,20,00,22,\
  00,25,00,32,00,22,00,20,00,22,00,25,00,33,00,22,00,20,00,22,00,25,00,34,00,\
  22,00,00,00

I don't not have an entry for HKEY_CLASSES_ROOT\txtfilelegacy.

Here are a couple of utilities you may find useful (I've used them for years - completely trustworthy):

https://www.nirsoft.net/utils/regscanner.html

https://www.nirsoft.net/utils/file_types_manager.html

Also, this tutorial may offer something (you could dissect/study the .reg files):

https://www.tenforums.com/tutorials/24412-add-remove-default-new-context-menu-items-windows-10-a.html

Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: User_99 on October 22, 2022, 21:24:10
@AlanJB

Thx very much for you're effort. Will check the keys.

Think your're using Windows 10?
Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: AlanJB on October 23, 2022, 14:14:20
@AlanJB

Thx very much for you're effort. Will check the keys.

Think your're using Windows 10?

You're welcome - hope some of it helps.

No: Win7 Pro x64
Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: AlanJB on October 28, 2022, 13:45:46
@User_99, did you resolve this?
Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: User_99 on October 28, 2022, 17:32:38
Hi, unfortunately not.

Installed MC on three clean Windows 11 systems and got there the same behaviour...
Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: AlanJB on October 29, 2022, 12:04:06
Oh - that's a shame.

If I stumble across anything else relevant I'll post here.

Good luck.
Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: User_99 on October 29, 2022, 21:17:20
Thx for your effort.
Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: User_99 on November 05, 2022, 16:37:32
Hard to say why they do not show up for you. I get them to show up on all my machines.
I have the item in Windows 10, but not in Windows 11. Clean install...

Which OS version do you use for "all my machines"
Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: Mathias (Author) on November 07, 2022, 18:14:59
Hard to say why they do not show up for you. I get them to show up on all my machines.
I have the item in Windows 10, but not in Windows 11. Clean install...

Which OS version do you use for "all my machines"

Windows 7,10,11 upgraded from 10
Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: User_99 on November 10, 2022, 17:38:07
Ok, tried it again with a clean Windows 11 installation. No other editor ex. UltraEdit, .. installed
Only latest MC installed - and item is not available.

So Mathias, on your Windows 11 client, what ate your reg items for txt-files?

HKEY_CLASSES_ROOT\.txt\
and
HKEY_CLASSES_ROOT\txtfilelegacy
Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: shmuelw on March 20, 2023, 10:18:21
I have the same problem. This is the New submenu in Windows:

(http://"C:\Users\shmuelw\Desktop\Screen Captures\snap00024 - Copy.png")

And this is the New submenu in Multi Commander:

(http://"C:\Users\shmuelw\Desktop\Screen Captures\snap00023 - Copy.png")

PLEASE fix this. It's really annoying. I like to create text files for notes.
Title: Re: Context menu "new" Windows 11 22H2 22621.521
Post by: shmuelw on March 20, 2023, 10:21:11
I have the same problem.

Attached are the two screen captures of Windows and Multi Commander.

PLEASE fix this. It's really annoying. I like to create text files for notes.