News:

MultiCommander v16.6 is released!

Main Menu

Context menu "new" Windows 11 22H2 22621.521

Started by User_99, September 30, 2022, 16:53:08

Previous topic - Next topic

User_99

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

Mathias (Author)

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..



User_99

#2
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"

AlanJB

For HKEY_CLASSES_ROOT\.txt\ShellNew\:

the Key (type REG_EXPAND_SZ) name is: ItemName

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

User_99

#4
@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.

AlanJB

Quote from: User_99 on October 21, 2022, 16:33:31
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 Text Document (works for me).

User_99


AlanJB

Hi @User_99.

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

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.

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.

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


User_99

@AlanJB

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

Think your're using Windows 10?

AlanJB

Quote from: 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?

You're welcome - hope some of it helps.

No: Win7 Pro x64

AlanJB


User_99

Hi, unfortunately not.

Installed MC on three clean Windows 11 systems and got there the same behaviour...

AlanJB

Oh - that's a shame.

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

Good luck.

User_99


User_99

Quote from: 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.
I have the item in Windows 10, but not in Windows 11. Clean install...

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

Mathias (Author)

Quote from: User_99 on November 05, 2022, 16:37:32
Quote from: 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.
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

User_99

#16
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

shmuelw

I have the same problem. This is the New submenu in Windows:



And this is the New submenu in Multi Commander:



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

shmuelw

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.