setting tool secpol. MSC ----- Local Security Policy sysdm. cpl ------ system syskey --------- system encryption (Once encrypted, it cannot be unlocked to protect the Windows XP system's dual password) services. MSC --- local service settings sfc.exe -------- System File Checker SFC/scannow --- Windows File Protection shutdown ------- shutdown command (for details, enter shutdown/? In cmd /?) Taskmgr -------- Task Manager telephon.
setting tool
Secpol. msc ----- Local Security Policy
Sysdm. Cpl ------ System
Syskey --------- system encryption (Once encrypted, it cannot be unlocked to protect the dual password of Windows XP)
Services. msc --- local service settings
Sfc.exe -------- System File Checker
SFC/scannow --- Windows File Protection
Shutdown ------- shutdown command (for details, enter shutdown/? In cmd /?)
Taskmgr -------- Task Manager
Telephon.
syskey --------- system encryption (Once encrypted, it cannot be unlocked to protect the Windows XP system's dual password) services. MSC --- local service settings sfc.exe -------- System File Checker SFC/scannow --- Windows File Protection shutdown ------- shutdown command (for details, enter shutdown/? In cmd /?) Taskmgr -------- Task Manager telephon. cpl --- Call and modem options Telnet --------- remote connection program TimeDate.
Winexec (Pchar ('strcommand'), sw_Show );
"StrCommand" indicates one of the following commands (do not enclose them with quotation marks when running in Windows ):
"Rundll32 shell32.dll, Control_RunDLL"-Operation Control Panel
"Rundll32 shell32.dll, OpenAs_RunDLL"-open the "open mode" Window
"Rundll32 shell32.dll, ShellAboutA Info-Box"-open the "about" Window
"Rundll32 shell32.dll, Control_RunDLL desk. cpl"-open the "show properties" Window
"Rundll32
Winexec (pchar ('strcommand'), sw_show );"Strcommand" indicates one of the following commands (do not enclose them with quotation marks when running in Windows ):"Rundll32 shell32, control_rundll"-Operation Control Panel"Rundll32 shell32, openas_rundll"-open the "open mode" Window"Rundll32 shell32, shellabouta Info-box"-open the "about" Window"Rundll32 shell32, control_rundll desk. Cpl"-open the "show properties" window."Rundll32 user, cascadechildwin
/Windows/tmail.exe-service "MMS"# Email/Windows/tmail.exe-service "ActiveSync"# Task/Windows/poutlook.exe tasks# Calendar/Windows/calendar.exe# Notes/Windows/notes.exe# Contact/Windows/poutlook.exe contacts# Create an SMS/Windows/tmail.exe-Transport "SMS"-""# Create a new MMS/Windows/tmail.exe-service "MMS"-""# Create an email/Windows/tmail.exe-service "ActiveSync"-""# Create a contact: mscontacts-New# Create a task: mstasks-New# Create a calendar: mscalendar-New# Create a note: msnotetake-n# Cr
'Rundll32.exe shell32.dll, control_rundll inetcpl. CPL
Winexec (pchar ('strcommand'), sw_show );"Strcommand" indicates one of the following commands (do not enclose them with quotation marks when running in Windows ):"Rundll32 shell32, control_rundll"-Operation Control Panel"Rundll32 shell32, openas_rundll"-open the "open mode" Window"Rundll32 shell32, shellabouta Info-box"-open the "about" Window"Rundll32 shell32, control_rundll desk.
Go to original
Control Panel
Module: control.exe
Command: rundll32.exe shell32.dll, control_rundll
Result: The control panel window is displayed.
Auxiliary options
Module: Access. CPL
Command: rundll32.exe shell32.dll, control_rundll access. CPL, 5
Result: Auxiliary options/General are displayed.
Command: rundll32.exe shell32.dll, control_rundll access.
This post may be a bit long, but it is definitely worth reading.
What is shell? It is neither a worksheet function nor an API function, nor Shell Oil. It is a built-in function of VBA.However, it is a vast array of functions that can accommodate n APIs. APIs are application interfaces, while shell is a bridge between applications and systems.It is easy to use, that is, to execute an executable file. The function is the same as that of the Start Menu.Shell (pathname [, windowstyle])Pathname is th
Run Program Run commandsAuxiliary Function option access. CPLAdd hardware wizard hdwwiz. CPLAppwiz. CPL Management Tool Control admintoolsAutomatically update wuaucpl. CPLBluetooth File Transfer wizard fsquirtCalculator calcCertificate Management Console certmgr. MSCCharacter ing table charmapDisk Check Tool chkdskClipboard viewer clipbrd Command Line prompt cmdComponent Service dcomcnfgComputer Management
user is required to be quite familiar with the control panel; you can also automatically open the control panel for the user in the program and select the corresponding project. In this case, all you do is set. The latter method is undoubtedly more friendly and more efficient for users.
Most project settings on the control panel correspond to a CPL file under the Windows System directory. For example, the file corresponding to the "Internet" attribu
You can create shortcuts for folders, files, and URLs. You can also create shortcuts for settings in the control panel. The following is a shortcut command. Usage: Right-click the blank area of the desktop or folder, select "new" and "shortcut". In "Enter the project location", enter the following command, and then enter the shortcut name. In this way, a shortcut of the control panel is completed. You can also run the following command in the Start menu to directly open a setting in the control
panel and find the corresponding project for setting. At this time, the user is required to be quite familiar with the control panel; you can also automatically open the control panel for the user in the program and select the corresponding project. In this case, all you do is set. The latter method is undoubtedly more friendly and more efficient for users.
Most project settings on the control panel correspond to a CPL file under the Windows System d
. Process (); // set the program nameP. StartInfo. FileName = mathonPath;P. StartInfo. Arguments = @ "c :/";P. Start ();If you want to use the resource manager to open C:/, you can do this:System. Diagnostics. Process. Start ("assumer.exe", @ "c :/");Someone may ask, "Can I open the" add or delete programs "Panel or control panel related content ?" The answer is yes!How to do it? The answer is to call rundll32.exe, for example:Open the "add or delete programs" panel:System. Diagnostics. Process.
list the rundll commands I have collected over the Internet as follows (useful, saving you a lot of time calling Windows APIs !!), For reference in programming:
Command column: rundll32.exe shell32.dll, control_rundll
Function: Display Control Panel
Command column: rundll32.exe shell32.dll, control_rundll access. CPL, 1
Function: displays the "control panel-Auxiliary options-keyboard" option window.
Command column: rundll32.exe shell32.dll, control_r
is provided, in the format:
Shell "command column"
If rundll32.exe is ready to use shell commands, it will make your VB program have effects that are hard to achieve or even unable to be implemented using other methods: restart is still used as an example. The traditional method requires you to create a module in the VB project, then write the winapi declaration before calling in the program. Now, you only need one sentence:
Shell restart rundll32.exe user.exe, restartwindows "is done!
I
When writing a program today, you need to open the "Date and Time Attributes" window in the control panel and start to think that it corresponds to a certain EXE file, and then remember that it corresponds to a certain CPLSuch as system. Diagnostics. process. Start ("rundll32.exe", "shell32.dll, control_rundll TimeDate. Cpl"); the "Date and time properties" window can be opened.
Other windows correspond to the following:Auxiliary optionsModule: Access
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.