Page 1 of 1

text document in new context menu

Posted: Sat Mar 30, 2013 7:30 pm
by omer kircher
Jussi:

I recently got a new machine, Windows 8, and a new version (ze32v397o) of Zeus, so I hope I have this straight.

When I install or uninstall Zeus, the following change is made in the registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.txt default value is cleared.

This removes "Text document" from the "New" context menus.

That seems like a bug to me. :(

After a whole lot of looking around, I find that "Text document" in the "New" context menus can be restored by setting the previously mentioned default value to "txtfile".

Omer

Posted: Sun Mar 31, 2013 7:22 am
by jussij
This removes "Text document" from the "New" context menus.
The Zeus installer has an option to associate with txt files and if this option is selected this registry entry modified with it's default value of that key is being set as the ZeusDocument document class:

Code: Select all

[HKEY_CLASSES_ROOT\.txt]
So I'm assuming that when you ran the Zeus installer you selected this Zeus txt file association.
That seems like a bug to me.
What has gone wrong is because the ZeusDocument does have not a default value, Explorer does not add it to the New menu.

So one way to fix this is, as you point out, use the Windows txtfile document class.

Another way to fix this is to find the Zeus document class key:

Code: Select all

[HKEY_CLASSES_ROOT\ZeusDocument]
and set the default value for this key to be:

Code: Select all

Text Document
With a default value, Explorer now adds the item to the New menu.

Cheers Jussi