You can use the Rundll32 program in any scripting file or batch file to start the applets in the control panel. A file with the .cpl extension contains one or more applets and each applet may display multiple pages or tabs. Using rundll32 you can launch any of the applets in the file and cause the applet to open on a particular page. The Rundll32.exe is placed in the \System or \System32 directories of Windows and is thus callable from any place on your system. Insert the following line in your batch file
Rundll32 shell32.dll, Control_RunDLL applet_filename.cpl, @applet_id, page_id
Where applet_filename is the file containing one or more applets, applet_id is the zero-based index of the applet in the applet file, and page_id is the zero-based index of the page or tab in the applet. The Microsoft Knowledge Base states that the page numbers are one-based, but clearly some applets have a zero-based coding scheme, so some experimentation is required.
For example, to run the keyboard applet, which is the second applet within the Main.cpl file, you would use the following command
Rundll32 shell32.dll, Control_RunDLL, main.cpl, @1
To run the Appearances page of the Display Properties dialog, which is the third tab of the only applet in the Desk.cpl file, you would use the following command
Rundll32 shell32.dll, Control_RunDLL, desk.cpl, @0, 2
You still must set all the dialog options interactively.
You can also use Rundll32 to display the dialog to format a floppy disk.