Windows 7 control pannel / integration trouble

Discussion, questions and support.
Post Reply
Message
Author
tbox
Posts: 3
Joined: 28.11.2009, 13:57

Windows 7 control pannel / integration trouble

#1 Post by tbox » 28.11.2009, 14:18

Hi all,

After changed the registry key in [HCR\Folder\shell\] to make FreeCom the default file explorer, the control pannel plugin no works anymore (works normally before registry change). sad !

When I look deeper, it seem that cpl file are opened by :

"%SystemRoot%\System32\control.exe "%1",%*" who was defined in [HCR\cplfile\]

But when i use this comand line by cmd.exe or use the control panel plug-in in FreeCom, it's just open a new instance of FreeCommander

look like opening certains program like "control.exe" make a call to [HCR\Folder\shell\] to find shell to start

please could you help me to have FreeCommander as default file explorer and leave "explorer.exe" dealing with cpl files.


sorry for my 'rusty' english ;)

best regards

TBox


update:

I notice that when I clic on "Control Panel" plug-in FreeCom is called like this :

"C:\FreeCommander\FreeCommander.exe" "::{26EE0668-A00A-44D7-9371-BEB064C98683}"

if FreeCcom could be able to call "%SystemRoot%\explorer.exe "::{26EE0668-A00A-44D7-9371-BEB064C98683}" instead it will work

is it possible ?

tbox
Posts: 3
Joined: 28.11.2009, 13:57

#2 Post by tbox » 28.11.2009, 16:53

sort of workaround for Windows 7 users

you can add shortcut to 'broken' explorer plug-in

exemple for "recycle bin"

close any instance of FreeCom,
add the code bellow to your "FreeCommander.ini" file in your profile directory (backup it first if you are wise ;))
restart FreeCom, you should have a new icon on the toolbar that open "recycle bin" directly

Code: Select all

[ToolsToolbars]
Tools=Tools

[Tools_TBarSettings]
ShowToolbar=1
ShowCaption=0
ShowIcon=1

[Tools]
1=Trash

[Tools_Trash]
Category=
Prg=%SystemRoot%\explorer.exe
Dir=
Par=#22#::{645FF040-5081-101B-9F08-00AA002F954E}#22#
DosFormat=0
IconNr=6
IconFile=%SystemRoot%\explorer.exe
HotKeyNr=-1
GHot=0
WinState=0
ShowInMenu=1
ShowInToolbar=1
you can find the CLSID number with procexp

Here some other CLSID

Control Panel

Code: Select all

Par=#22#::{26EE0668-A00A-44D7-9371-BEB064C98683}#22#
Add/Remove program

Code: Select all

Par=#22#::{26EE0668-A00A-44D7-9371-BEB064C98683}\8\::{7B81BE6A-CE2B-4676-A29E-EB907A5126C5}#22#
hope it helps

NReale3370
Posts: 2
Joined: 03.08.2011, 04:32

Re: Windows 7 control pannel / integration trouble

#3 Post by NReale3370 » 03.08.2011, 04:40

I came across this post today while trying to find a solution to the broken control panel problem in windows 7, and after a few hours of registry tinkering I managed to find a solution that works perfectly. Instead of using the Folders registry value which encompasses everything you can use the Directory value and the Drive value to cover regular folders and drives without messing with control panel or recycle bin or any other special explorer stuff. I'm pasting my registry code here, its for 64 bit windows so adjust accordingly if you're on 32 bit or installed freecommander somewhere else:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell]
@="openinfreecommander"

[HKEY_CLASSES_ROOT\Directory\shell\openinfreecommander]
@="Open In Free Commander"

[HKEY_CLASSES_ROOT\Directory\shell\openinfreecommander\command]
@="\"C:\\Program Files (x86)\\FreeCommander\\freecommander.exe\" \"%1\""

[HKEY_CLASSES_ROOT\Drive\shell\open]

[HKEY_CLASSES_ROOT\Drive\shell\open\command]
@="\"C:\\Program Files (x86)\\FreeCommander\\Freecommander.exe\" /C /L=\"%1\""
Hope this helps!

dewwalker
Posts: 3
Joined: 18.03.2008, 16:01

Re: Windows 7 control pannel / integration trouble

#4 Post by dewwalker » 20.08.2011, 19:16

Thanks NReale3370,

I just tested this with FreeCommander 2009.02a Build 413 donor and Windows 7.

One change I have made. FreeCommander Settings | Shell already create registry keys similar to what you've done if Drives and Folders are marked as shown:

Image

If so, this registry script will take advantage of them:

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell]
@="FreeCommander"

[HKEY_CLASSES_ROOT\Drive\shell]
@="FreeCommander"

Post Reply

Who is online

Users browsing this forum: No registered users and 144 guests