PDA

View Full Version : Very very strange behaviour. Any idea ?


Laurent Grenet
December 5th 03, 01:17 AM
Does anybody already met this strange behaviour ? :

Click on start menu / all programs and right click on a directory (an
program shortcut's directory) in the list of available programs.
Then a context menu opens with "Open/Explore/Delete/Rename/Sort by
Name/Properties" or, if any "Open/Open all users/Explore/Explore all
users/etc..."
(I'm not 100% sure of menu entries name, since I've a French XP, but
it's something like that). Until then, it's 100% standard !
If I choose "delete", "rename", "sort" or "properties", it works fine,
but NOT with "Open" a/o "explore".

And what happens in this case depends on the fact I've put in place
(or not) the contextmenuhandler's registry key allowing to have two
new menus "Copy to folder" and "Move to folder" in standard explorer
contextual menus (well known XP's tip)
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemO bjects\shellex\ContextMenuHandlers\Copy
To]
@="{C2FBB630-2971-11D1-A18C-00C04FD75D13}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemO bjects\shellex\ContextMenuHandlers\Move
To]
@="{C2FBB631-2971-11D1-A18C-00C04FD75D13}"

If these keys are not present, the choice of Open a/o explore in the
above described case doesn't do anything. While, if these keys are
present, it launches first a "Move to folder" of the selected program
shortcut's directory, followed by a "Copy to folder".

What is even more strange, is that such a curious behaviour occurs
also in (at least) two completely different situations:

1) When I open a picture file (I.E .jpeg) with standard "picture
preview" and in this preview click on the quite rightmost icon on the
bottom of the screen ("close this program and opens picture to be
modified") (or use Ctrl+E), depending on the presence of two above
registry keys, it doesn't do anything (actually, it closes preview,
but doesn't open modify tool), or it launches first a "Move to folder"
of the picture, followed by a "Copy to folder". (But if I right click,
in the preview, on the picture and choose "Modify" in the context
menu, it works...)

2) When using the wizzard to choose a compatibility mode for a given
program, quite at the end of the process, click on next is assumed to
launch the selected program in the selected compatibility mode, in
order to try if it works before to save these parameters. And this
time too, depending on the presence of two above registry keys,
instead of launching the program, it doesn't do anything, or it
launches first a "Move to folder" of the program itself, followed by a
"Copy to folder".

Very very strange, isn't it ? !!!

It is not really a big problem, but I'd like to, at least, understand.
So, if some of you had already encountered this (hese) problem, or has
any idea, you're welcome !!

Thanks
Laurent

PS : Of course, if only one of the two mentioned reg keys is there,
the result is different, but similar : Only one of the actions (Copy
to and Move to) occusrs, the one coresponding to the present key.
PS 2 : I'm on XP HOME SP1

Doug Knox MS-MVP
December 5th 03, 01:17 AM
Laurent,

This behavior is why I removed this particular "tweak" from my web site. It
doesn't work well with XP. In some cases, it works as advertised, in others
it behaves as you describe. I don't know that anyone has figured out the
reason yet.

--
Doug Knox, MS-MVP Windows XP/ Windows Smart Display
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Associate Expert
ExpertZone - http://www.microsoft.com/windowsxp/expertzone
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

"Laurent Grenet" > wrote in message
m...
> Does anybody already met this strange behaviour ? :
>
> Click on start menu / all programs and right click on a directory (an
> program shortcut's directory) in the list of available programs.
> Then a context menu opens with "Open/Explore/Delete/Rename/Sort by
> Name/Properties" or, if any "Open/Open all users/Explore/Explore all
> users/etc..."
> (I'm not 100% sure of menu entries name, since I've a French XP, but
> it's something like that). Until then, it's 100% standard !
> If I choose "delete", "rename", "sort" or "properties", it works fine,
> but NOT with "Open" a/o "explore".
>
> And what happens in this case depends on the fact I've put in place
> (or not) the contextmenuhandler's registry key allowing to have two
> new menus "Copy to folder" and "Move to folder" in standard explorer
> contextual menus (well known XP's tip)
>
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemO bjects\shellex\ContextMen
uHandlers\Copy
> To]
> @="{C2FBB630-2971-11D1-A18C-00C04FD75D13}"
>
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemO bjects\shellex\ContextMen
uHandlers\Move
> To]
> @="{C2FBB631-2971-11D1-A18C-00C04FD75D13}"
>
> If these keys are not present, the choice of Open a/o explore in the
> above described case doesn't do anything. While, if these keys are
> present, it launches first a "Move to folder" of the selected program
> shortcut's directory, followed by a "Copy to folder".
>
> What is even more strange, is that such a curious behaviour occurs
> also in (at least) two completely different situations:
>
> 1) When I open a picture file (I.E .jpeg) with standard "picture
> preview" and in this preview click on the quite rightmost icon on the
> bottom of the screen ("close this program and opens picture to be
> modified") (or use Ctrl+E), depending on the presence of two above
> registry keys, it doesn't do anything (actually, it closes preview,
> but doesn't open modify tool), or it launches first a "Move to folder"
> of the picture, followed by a "Copy to folder". (But if I right click,
> in the preview, on the picture and choose "Modify" in the context
> menu, it works...)
>
> 2) When using the wizzard to choose a compatibility mode for a given
> program, quite at the end of the process, click on next is assumed to
> launch the selected program in the selected compatibility mode, in
> order to try if it works before to save these parameters. And this
> time too, depending on the presence of two above registry keys,
> instead of launching the program, it doesn't do anything, or it
> launches first a "Move to folder" of the program itself, followed by a
> "Copy to folder".
>
> Very very strange, isn't it ? !!!
>
> It is not really a big problem, but I'd like to, at least, understand.
> So, if some of you had already encountered this (hese) problem, or has
> any idea, you're welcome !!
>
> Thanks
> Laurent
>
> PS : Of course, if only one of the two mentioned reg keys is there,
> the result is different, but similar : Only one of the actions (Copy
> to and Move to) occusrs, the one coresponding to the present key.
> PS 2 : I'm on XP HOME SP1

Laurent Grenet
December 5th 03, 01:17 AM
Thanks Doug for your answer.
But do you know any mean to go back to the initial
situation ? If I remove the two reg keys, neither
open/explore menu, nor launch of modification from
preview, nor test in Compatibility wizzard doesn't work.
How to make them ok again ?

Sir_George
December 5th 03, 01:17 AM
Laurent,

This registry edit should do the trick;
(Select all text below, paste into Notepad and save as "RemoveCopyto.reg")

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\Con textMenuHandlers]

[-HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\Con textMenuHandlers\Copy
To]

[-HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\Con textMenuHandlers\Move
To]


--
Sir_George


"Laurent Grenet" > wrote in message
...
> Thanks Doug for your answer.
> But do you know any mean to go back to the initial
> situation ? If I remove the two reg keys, neither
> open/explore menu, nor launch of modification from
> preview, nor test in Compatibility wizzard doesn't work.
> How to make them ok again ?
>
>

Google