Page 1 of 2

How to launch the Control Panel in XYplorer?

Posted: 26 May 2023 13:30
by Piotrek94k
Hello.
All folders open for me using XYplorer except the Control Panel. It starts in Windows Explorer.
Is there a way to add it so I can view it in XYplorer? Thank you very much for your time.
Have a nice day,
Piotrek

Re: How to launch the Control Panel in XYplorer?

Posted: 26 May 2023 13:34
by highend
The control panel entries aren't real folders...

Re: How to launch the Control Panel in XYplorer?

Posted: 26 May 2023 13:50
by Piotrek94k
I know. Maybe I worded the question wrong. But is it possible to display it somehow in XYplorer?

Re: How to launch the Control Panel in XYplorer?

Posted: 26 May 2023 14:04
by highend
As long as you only mean "access them"? Sure, via scripting like:

Code: Select all

        // Control_RunDLL is CASE-SENSITIVE!
        $commands = <<<>>>
            God Mode                          |run "explorer.exe shell:::{ED7BA470-8E54-465E-825C-99712043E01C}";
            Add/Remove Programs               |run lax("rundll32.exe" shell32.dll,Control_RunDLL appwiz.cpl,,0);
            Control Panel                     |run lax("rundll32.exe" shell32.dll,Control_RunDLL);
            Date and Time                     |run lax("rundll32.exe" shell32.dll,Control_RunDLL timedate.cpl);
            Device Manager                    |run lax("rundll32.exe" devmgr.dll,DeviceManager_Execute);
            Display Settings                  |run lax("rundll32.exe" shell32.dll,Control_RunDLL desk.cpl,,3);
            Environment Variables             |run lax("rundll32.exe" sysdm.cpl,EditEnvironmentVariables);
            Indexing Options                  |run lax("rundll32.exe" shell32.dll,Control_RunDLL srchadmin.dll);
            Map Network Drive Wizard          |run lax("rundll32.exe" shell32.dll,SHHelpShortcuts_RunDLL Connect);
            Mouse Properties                  |run lax("rundll32.exe" shell32.dll,Control_RunDLL main.cpl @0,0);
            Network Connections               |run lax("rundll32.exe" shell32.dll,Control_RunDLL ncpa.cpl);
            Power Options                     |run lax("rundll32.exe" shell32.dll,Control_RunDLL powercfg.cpl);
            Regional and Language Options     |run lax("rundll32.exe" shell32.dll,Control_RunDLL intl.cpl,,0);
            System Properties - Advanced      |run lax("rundll32.exe" shell32.dll,Control_RunDLL sysdm.cpl,,3);
            System Properties - Computer Name |run lax("Rundll32.exe" shell32.dll,Control_RunDLL sysdm.cpl,,1);
            System Properties - Hardware      |run lax("rundll32.exe" shell32.dll,Control_RunDLL sysdm.cpl,,2);
            Taskbar Properties                |run lax("rundll32.exe" shell32.dll,Options_RunDLL 1);
            User Accounts                     |run lax("rundll32.exe" shell32.dll,Control_RunDLL nusrmgr.cpl);
            Unplug/Eject Hardware             |run lax("rundll32.exe" shell32.dll,Control_RunDLL hotplug.dll);
            Windows Security Center           |run lax("rundll32.exe" shell32.dll,Control_RunDLL wscui.cpl);
            Windows Firewall                  |run lax("rundll32.exe" shell32.dll,Control_RunDLL firewall.cpl);
            Windows Settings                  |run lax("cmd" /c "start ms-settings:"), , 0, 0;
        >>>;
        $commands = regexreplace($commands, "^[ \t]+");

        $sel = inputselect("Select tool...", $commands, <crlf>, 32+64+1024, , 600, 600);
        if ($sel) { load $sel, , "s"; }

Re: How to launch the Control Panel in XYplorer?

Posted: 27 May 2023 08:31
by admin
There is also a GUID that can be used a a pseudo-path like this right in the address bar: ::{21EC2020-3AEA-1069-A2DD-08002B30309D} It will launch the Control Panel in Explorer.

Re: How to launch the Control Panel in XYplorer?

Posted: 27 May 2023 14:10
by XY fan
How about: Tools - Tools Special - Control Panel. Or have I missed to OP's question?

Re: How to launch the Control Panel in XYplorer?

Posted: 27 May 2023 14:42
by klownboy
...or #640; in address bar (you may need :: in front of that depending on your settings)

Re: How to launch the Control Panel in XYplorer?

Posted: 01 Jun 2023 16:10
by Piotrek94k
Thank you very much. Unfortunately none of these solutions work for me.
The script has a lot of errors, GUID from Admin and #640 shows that the address was not found. Clicking on Tools - Tools Special - Control Panel opens the Control Panel but in the system explorer

Re: How to launch the Control Panel in XYplorer?

Posted: 01 Jun 2023 16:28
by highend
Thank you very much for not explaining why they don't work for you

Re: How to launch the Control Panel in XYplorer?

Posted: 01 Jun 2023 16:41
by Piotrek94k
highend wrote: 01 Jun 2023 16:28 Thank you very much for not explaining why they don't work for you
Sorry. I updated the comment.

Re: How to launch the Control Panel in XYplorer?

Posted: 01 Jun 2023 16:56
by highend
The script has a lot of errors
Interesting. Post them^^

Re: How to launch the Control Panel in XYplorer?

Posted: 01 Jun 2023 17:03
by Piotrek94k
highend wrote: 01 Jun 2023 16:56
The script has a lot of errors
Interesting. Post them^^
I'm not saying it's your fault or anything. I'll post a screenshot tomorrow, okay? Today I no longer use my laptop.

Re: How to launch the Control Panel in XYplorer?

Posted: 01 Jun 2023 17:10
by highend
Does it look e.g. like this?
xy_script_error.png
xy_script_error.png (4.81 KiB) Viewed 2493 times

Re: How to launch the Control Panel in XYplorer?

Posted: 01 Jun 2023 17:24
by Piotrek94k
No. From what I remember, there were errors written in yellow under the lines of code.

Re: How to launch the Control Panel in XYplorer?

Posted: 02 Jun 2023 10:30
by Piotrek94k
highend wrote: 01 Jun 2023 17:10 Does it look e.g. like this?
xy_script_error.png
For now, I'm sending you a few screenshots, there are errors in every line of code