Links to control panel items on the HTC Leo HD2. Some of these will work on different platforms, some won't. This article relates to my HD2 Leo running wm 6.5.x build 28232, but it should be common across all hd2 roms.
Control panel items are generally not files in their own right, rather they are bundled together into .cpl files.
To create a link directly to a particular control panel item is easy. (we will use the USB to PC Activesync screen as our example)
Open a new notepad document on your pc, paste in the command
23#ctlpnl.exe mycpl.cpl,34
save the text file, (example usb2pc.txt) and then rename the extension from .txt to .lnk (LNK for 'link')
Move the file usb2pc.lnk to the phone, and move it to the windows\start menu folder.
Now when you click an empty quicklink space you will find that usb2pc is now available to set as a quicklink.
The command explained.
------------------------
23#ctlpnl.exe mycpl.cpl,34
23 == tells the system how many characters are in the command. (Seems not to matter too much whether this is correct or not, at least on the HD2)
# == is the delimiter to signify the begining of the command.
ctlpnl.exe == is the control panel program that opens and executes the .cpl file.
mycpl.cpl == specifies the .cpl file to use.
,34 == is the index of the command within the cpl file. Not every index is used.
You can further specify the exact tab to open for items held in the cplmain.cpl file by specifying the tab number at the end.
For example
24#ctlpnl.exe cplmain.cpl,2 calls up the owner info ident tab
whilst
24#ctlpnl.exe cplmain.cpl,2,1 calls up owner info, but on the notes tab.
Looking for this info online turned up the fact that it doesn't stay quite the same from one version of windows mobile to the next, and manufactures can add their own .cpl files too, so I decided to manually try the variants and compile a list specific to the hd2
The one exception to the cpl method is for the power settings, which have now been moved to powerexe.exe
==================================================
22#ctlpnl.exe mycpl.cpl,1 - advanced network settings (hsdpa enable)
22#ctlpnl.exe mycpl.cpl,2 - clear all data! (hard reset screen)
22#ctlpnl.exe mycpl.cpl,3 - phone info
22#ctlpnl.exe mycpl.cpl,4 - battery & backlight (To open on a specific page, see the powerexe.exe links)
22#ctlpnl.exe mycpl.cpl,7 - wifi settings
23#ctlpnl.exe mycpl.cpl,34 - USB to PC
23#ctlpnl.exe mycpl.cpl,35 - G-Sensor Calibrate
==================================================
12#Powerexe.exe - power and backlight
12#Powerexe.exe 1 - battery tab
12#Powerexe.exe 2 - backlight tab
==================================================
24#ctlpnl.exe cplmain.cpl,1 - phone password settings
24#ctlpnl.exe cplmain.cpl,2 - owner info - ident
24#ctlpnl.exe cplmain.cpl,2,1 owner info - notes tab
24#ctlpnl.exe cplmain.cpl,3 - battery & backlight
24#ctlpnl.exe cplmain.cpl,4 - memory - main
24#ctlpnl.exe cplmain.cpl,4,1 memory - storage card tab
24#ctlpnl.exe cplmain.cpl,5 - about - version
24#ctlpnl.exe cplmain.cpl,5,1 about - device id tab
24#ctlpnl.exe cplmain.cpl,5,2 about - copyrights tab
24#ctlpnl.exe cplmain.cpl,6 - fails to open 'backlight.exe' (use powerexe.exe instead)
24#ctlpnl.exe cplmain.cpl,7 - screen align
24#ctlpnl.exe cplmain.cpl,7,1 screen clear type
24#ctlpnl.exe cplmain.cpl,7,2 screen text size
24#ctlpnl.exe cplmain.cpl,8 - input method
24#ctlpnl.exe cplmain.cpl,8,1 input options
24#ctlpnl.exe cplmain.cpl,9 - sounds & notif - sounds
24#ctlpnl.exe cplmain.cpl,9,1 sounds & notif - notifications
25#ctlpnl.exe cplmain.cpl,10 - remove programs
25#ctlpnl.exe cplmain.cpl,12 - program h/ware buttons
25#ctlpnl.exe cplmain.cpl,12,1 program h/ware buttons up/down
25#ctlpnl.exe cplmain.cpl,13 - home - appearance settings
25#ctlpnl.exe cplmain.cpl,13,1 home - items
25#ctlpnl.exe cplmain.cpl,14 - domain enroll
25#ctlpnl.exe cplmain.cpl,16 - clock&alarms - Time
-----------------------------cant specify alarms tab?
25#ctlpnl.exe cplmain.cpl,17 - wifi - wireless networks tab
-----------------------------cant specify network adapters tab?
25#ctlpnl.exe cplmain.cpl,18 - regional settings - region
25#ctlpnl.exe cplmain.cpl,18,1 regional settings - number
25#ctlpnl.exe cplmain.cpl,18,2 regional settings - currency
25#ctlpnl.exe cplmain.cpl,18,3 regional settings - time
25#ctlpnl.exe cplmain.cpl,18,4 regional settings - date
25#ctlpnl.exe cplmain.cpl,19 - connections - tasks
25#ctlpnl.exe cplmain.cpl,19,1 connections - advanced
25#ctlpnl.exe cplmain.cpl,20 - phone - sounds
25#ctlpnl.exe cplmain.cpl,20,1 phone - network
25#ctlpnl.exe cplmain.cpl,20,2 phone - gsm/umts services
25#ctlpnl.exe cplmain.cpl,20,3 phone - more
25#ctlpnl.exe cplmain.cpl,20,4 phone - advanced
25#ctlpnl.exe cplmain.cpl,22 - certificates - personal
25#ctlpnl.exe cplmain.cpl,22,1 certificates - intermediate
25#ctlpnl.exe cplmain.cpl,22,2 certificates - root
25#ctlpnl.exe cplmain.cpl,24 - error reporting
25#ctlpnl.exe cplmain.cpl,25 - gps settings - programs(port)
25#ctlpnl.exe cplmain.cpl,25,1 gps settings - hardware
25#ctlpnl.exe cplmain.cpl,25,2 gps settings - access
25#ctlpnl.exe cplmain.cpl,26 - comm manager
25#ctlpnl.exe cplmain.cpl,27 - encryption
=================================================
25#ctlpnl.exe BTConfigCE.cpl - brings up bluetooth
=================================================
25#ctlpnl.exe CarKitMode.cpl - brings up navipanel settings
=================================================
30#ctlpnl.exe AGPSSettingsCPL.cpl - location services settings
=================================================
35#ctlpnl.exe HTCAccountManagerCPL.cpl - account manager - log in/out
=================================================
26#ctlpnl.exe UploaderCPL.cpl - uploader status
*
*
*
*
*
*
update - create direct links to folders, see post 35 HERE
*
*
*
*
*
*
Control panel items are generally not files in their own right, rather they are bundled together into .cpl files.
To create a link directly to a particular control panel item is easy. (we will use the USB to PC Activesync screen as our example)
Open a new notepad document on your pc, paste in the command
23#ctlpnl.exe mycpl.cpl,34
save the text file, (example usb2pc.txt) and then rename the extension from .txt to .lnk (LNK for 'link')
Move the file usb2pc.lnk to the phone, and move it to the windows\start menu folder.
Now when you click an empty quicklink space you will find that usb2pc is now available to set as a quicklink.
The command explained.
------------------------
23#ctlpnl.exe mycpl.cpl,34
23 == tells the system how many characters are in the command. (Seems not to matter too much whether this is correct or not, at least on the HD2)
# == is the delimiter to signify the begining of the command.
ctlpnl.exe == is the control panel program that opens and executes the .cpl file.
mycpl.cpl == specifies the .cpl file to use.
,34 == is the index of the command within the cpl file. Not every index is used.
You can further specify the exact tab to open for items held in the cplmain.cpl file by specifying the tab number at the end.
For example
24#ctlpnl.exe cplmain.cpl,2 calls up the owner info ident tab
whilst
24#ctlpnl.exe cplmain.cpl,2,1 calls up owner info, but on the notes tab.
Looking for this info online turned up the fact that it doesn't stay quite the same from one version of windows mobile to the next, and manufactures can add their own .cpl files too, so I decided to manually try the variants and compile a list specific to the hd2
The one exception to the cpl method is for the power settings, which have now been moved to powerexe.exe
==================================================
22#ctlpnl.exe mycpl.cpl,1 - advanced network settings (hsdpa enable)
22#ctlpnl.exe mycpl.cpl,2 - clear all data! (hard reset screen)
22#ctlpnl.exe mycpl.cpl,3 - phone info
22#ctlpnl.exe mycpl.cpl,4 - battery & backlight (To open on a specific page, see the powerexe.exe links)
22#ctlpnl.exe mycpl.cpl,7 - wifi settings
23#ctlpnl.exe mycpl.cpl,34 - USB to PC
23#ctlpnl.exe mycpl.cpl,35 - G-Sensor Calibrate
==================================================
12#Powerexe.exe - power and backlight
12#Powerexe.exe 1 - battery tab
12#Powerexe.exe 2 - backlight tab
==================================================
24#ctlpnl.exe cplmain.cpl,1 - phone password settings
24#ctlpnl.exe cplmain.cpl,2 - owner info - ident
24#ctlpnl.exe cplmain.cpl,2,1 owner info - notes tab
24#ctlpnl.exe cplmain.cpl,3 - battery & backlight
24#ctlpnl.exe cplmain.cpl,4 - memory - main
24#ctlpnl.exe cplmain.cpl,4,1 memory - storage card tab
24#ctlpnl.exe cplmain.cpl,5 - about - version
24#ctlpnl.exe cplmain.cpl,5,1 about - device id tab
24#ctlpnl.exe cplmain.cpl,5,2 about - copyrights tab
24#ctlpnl.exe cplmain.cpl,6 - fails to open 'backlight.exe' (use powerexe.exe instead)
24#ctlpnl.exe cplmain.cpl,7 - screen align
24#ctlpnl.exe cplmain.cpl,7,1 screen clear type
24#ctlpnl.exe cplmain.cpl,7,2 screen text size
24#ctlpnl.exe cplmain.cpl,8 - input method
24#ctlpnl.exe cplmain.cpl,8,1 input options
24#ctlpnl.exe cplmain.cpl,9 - sounds & notif - sounds
24#ctlpnl.exe cplmain.cpl,9,1 sounds & notif - notifications
25#ctlpnl.exe cplmain.cpl,10 - remove programs
25#ctlpnl.exe cplmain.cpl,12 - program h/ware buttons
25#ctlpnl.exe cplmain.cpl,12,1 program h/ware buttons up/down
25#ctlpnl.exe cplmain.cpl,13 - home - appearance settings
25#ctlpnl.exe cplmain.cpl,13,1 home - items
25#ctlpnl.exe cplmain.cpl,14 - domain enroll
25#ctlpnl.exe cplmain.cpl,16 - clock&alarms - Time
-----------------------------cant specify alarms tab?
25#ctlpnl.exe cplmain.cpl,17 - wifi - wireless networks tab
-----------------------------cant specify network adapters tab?
25#ctlpnl.exe cplmain.cpl,18 - regional settings - region
25#ctlpnl.exe cplmain.cpl,18,1 regional settings - number
25#ctlpnl.exe cplmain.cpl,18,2 regional settings - currency
25#ctlpnl.exe cplmain.cpl,18,3 regional settings - time
25#ctlpnl.exe cplmain.cpl,18,4 regional settings - date
25#ctlpnl.exe cplmain.cpl,19 - connections - tasks
25#ctlpnl.exe cplmain.cpl,19,1 connections - advanced
25#ctlpnl.exe cplmain.cpl,20 - phone - sounds
25#ctlpnl.exe cplmain.cpl,20,1 phone - network
25#ctlpnl.exe cplmain.cpl,20,2 phone - gsm/umts services
25#ctlpnl.exe cplmain.cpl,20,3 phone - more
25#ctlpnl.exe cplmain.cpl,20,4 phone - advanced
25#ctlpnl.exe cplmain.cpl,22 - certificates - personal
25#ctlpnl.exe cplmain.cpl,22,1 certificates - intermediate
25#ctlpnl.exe cplmain.cpl,22,2 certificates - root
25#ctlpnl.exe cplmain.cpl,24 - error reporting
25#ctlpnl.exe cplmain.cpl,25 - gps settings - programs(port)
25#ctlpnl.exe cplmain.cpl,25,1 gps settings - hardware
25#ctlpnl.exe cplmain.cpl,25,2 gps settings - access
25#ctlpnl.exe cplmain.cpl,26 - comm manager
25#ctlpnl.exe cplmain.cpl,27 - encryption
=================================================
25#ctlpnl.exe BTConfigCE.cpl - brings up bluetooth
=================================================
25#ctlpnl.exe CarKitMode.cpl - brings up navipanel settings
=================================================
30#ctlpnl.exe AGPSSettingsCPL.cpl - location services settings
=================================================
35#ctlpnl.exe HTCAccountManagerCPL.cpl - account manager - log in/out
=================================================
26#ctlpnl.exe UploaderCPL.cpl - uploader status
*
*
*
*
*
*
update - create direct links to folders, see post 35 HERE
*
*
*
*
*
*
Last edited: