Jump to content

Recommended Posts


Posted

You must do it by hand. There is no app I am aware of that does this.

Export the relevant registry key to a reg file. Reorder the items in a text editor as you want them to appear in the context menu. Then delete the key and import the modified registry file and you'll be done.

Clear enough ?

  • 2 months later...
Posted

eidenk,

it works perfectly all right with Win98SE, but seems does not work for WinXP, any clue?

Anything else needs to be deleted maybe?

Posted
eidenk,

it works perfectly all right with Win98SE, but seems does not work for WinXP, any clue?

Anything else needs to be deleted maybe?

Could you export the relevant setting from the registry and post it here? Then I could show you how to order them ;)

Posted

Currently the context menu for my Htmlfile looks like this:

Open

Edit

Edit with NoteTab Light

Open in Same Window

Print

What I would like to achieve is the following:

Open

Open in Same Window

Edit

Edit with NoteTab Light

Print

I have rearranged the "Shell" in the Registry as follows:

======================================

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\htmlfile\shell]

@="opennew"

[HKEY_CLASSES_ROOT\htmlfile\shell\opennew]

@="&Open"

[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\command]

@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" %1"

[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\ddeexec]

@="\"%1\",,-1,0,,,,"

"NoActivateHandler"=""

[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\ddeexec\Application]

@="IExplore"

[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\ddeexec\IfExec]

@="*"

[HKEY_CLASSES_ROOT\htmlfile\shell\opennew\ddeexec\Topic]

@="WWW_OpenURLNewWindow"

[HKEY_CLASSES_ROOT\htmlfile\shell\open]

@="Open in S&ame Window"

[HKEY_CLASSES_ROOT\htmlfile\shell\open\command]

@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -nohome"

[HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec]

@="\"file://%1\",,-1,,,,,"

"NoActivateHandler"=""

[HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec\Application]

@="IExplore"

[HKEY_CLASSES_ROOT\htmlfile\shell\open\ddeexec\Topic]

@="WWW_OpenURL"

[HKEY_CLASSES_ROOT\htmlfile\shell\Edit]

@="&Edit"

[HKEY_CLASSES_ROOT\htmlfile\shell\Edit\command]

@="\"C:\\Program Files\\Microsoft Office\\OFFICE11\\msohtmed.exe\" %1"

[HKEY_CLASSES_ROOT\htmlfile\shell\Edit_with_NoteTab_Light]

@="Edit with NoteTab Light"

[HKEY_CLASSES_ROOT\htmlfile\shell\Edit_with_NoteTab_Light\command]

@="\"C:\\Program Files\\NoteTab Light\\NoteTab.exe\" \"%1\""

[HKEY_CLASSES_ROOT\htmlfile\shell\Print]

@="&Print"

[HKEY_CLASSES_ROOT\htmlfile\shell\Print\command]

@="\"C:\\Program Files\\Microsoft Office\\OFFICE11\\msohtmed.exe\" /p %1"

[HKEY_CLASSES_ROOT\htmlfile\shell\printto]

[HKEY_CLASSES_ROOT\htmlfile\shell\printto\command]

@=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,\

00,20,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,6d,00,73,\

00,68,00,74,00,6d,00,6c,00,2e,00,64,00,6c,00,6c,00,2c,00,50,00,72,00,69,00,\

6e,00,74,00,48,00,54,00,4d,00,4c,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 even did the following: delete the "Shell" key in the registry, turn the PC (WinXP) off and then back on, merge above (rearranged) registry. But still I could not achieve I would like to have. It will work would it be a Win98SE PC though.

Thanks!!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...