Jump to content

Control order in shell context menus?


mrbill
 Share

Recommended Posts

There are lots of posts about how to add an item to a context menu for

file types, or for files in general. I have a generic command I added to my

exploere context menu via the usual registery thing

add

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\<my menu name>\command]

@="c:<bla bla shell command here> "

Now, this works just fine in "normal" document windows,

but vista spuriously changes my folder "types" to picture folders

and music folders and so on. Since those folders are NOT picture or

music folders its pretty annoying to not have my settings for folder left alone.

So part b of this question, does anyone know how to make vista stop

specializing its folders for you? (or against you?)

Back to topic,

In windoes explorer, if i right click any old folder name inside a folder, sure enough, the menu

pops up with

Explore

Open

<my menu item>

<menu continues>

but only in "normal" document type folders.

However, if Vista in its IW (infinite wisdom), has spuriously

decided my containing folder is now really a music folder (even though

5 minutes ago i explicitly set the folder type back to document)

then, <my menu item> is listed FIRST, making it the default

LEFT click action as well.

Right click on the sub folder name now shows

<my menu item> -- listed first and In BOLD showing its the default menu item

Explore

Open

<menu continues>

So question number 1), how can I set the menu position or order of <my menu item>

so that it is not randomly on the top (aka default) of the context menu?

I like my new context command, but I also like being able to double click my folders to open them,

which this random (in the sense vista silently randomizes folder types) behavior prevents.

Now, after vista silently mangles the folder type, I double click a sub folder

and <my menu item> runs, instead of opening the folder.

And question part 3rd, if someone can tell me how to turn OFF music and picture folder

nonsense altogether so i ONLY have document type folders, that would be very very cool too.

I have set the setting in folder options to treat all folders the same and not specialize anything,

and "set all folders to be like this on", set this folder and all subfolders to "document

type" dozens of times, and yet it keeps changing, as i said apparently at random.

I do not in fact have music in any of the folders it decides to make music folders.

I often wonder if there were programmers out there who hated microsoft so badly they

got jobs at microsoft and deliberatly hosed windows vista? :=)

Wisdom welcome.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy