搜尋此網誌

2021年5月4日 星期二

如何下指令直接跳到Windows系統的特定選項中。(在command line下指令直接跳到我們要去的選項中)

 系統選項通常都要一選再選才能到達我們想要的地方,對一般使用者太為難,windows是有指示可以直接到你要的地方,例如我們想要到聲音的相關選項中的錄製這個TAB,我們要選「控制台」再選「硬體和音效」再選「聲音」再選「錄製」才會到我們要的地方,但如果執行control.exe mmsys.cpl,,1的話,就可一步到位...

還有很多指令,這只是一個線頭,請自己研究

If you want to access the Mixer and the other functions, you can use these shortcuts:
• Master Volume Left: SndVol.exe -f 0
• Master Volume Right: SndVol.exe -f 49825268
• Volume Mixer Left: SndVol.exe -r 0
• Volume Mixer Right: SndVol.exe -r 49490633
• Playback Devices: control.exe mmsys.cpl,,0
• Recording Devices: control.exe mmsys.cpl,,1
• Sounds: control.exe mmsys.cpl,,2


Control Panel (.cpl)指令 Microsoft官網的描述

The following table lists the most common .cpl files, including all the .cpl files included with Windows:

File name Purpose

-----------------------------------------------------------------------

Access.cpl Accessibility properties

Appwiz.cpl Add/Remove Programs properties

Desk.cpl Display properties

FindFast.cpl FindFast (included with Microsoft Office for Windows 95)

Inetcpl.cpl Internet properties

Intl.cpl Regional Settings properties

Joy.cpl Joystick properties

Main.cpl Mouse, Fonts, Keyboard, and Printers properties

Mlcfg32.cpl Microsoft Exchange or Windows Messaging properties

Mmsys.cpl Multimedia properties

Modem.cpl Modem properties

Netcpl.cpl Network properties

Odbccp32.cpl Data Sources (32-bit ODBC, included w/ Microsoft Office)

Password.cpl Password properties

Sticpl.cpl Scanners and Cameras properties

Sysdm.cpl System properties and Add New Hardware wizard

Themes.cpl Desktop Themes

TimeDate.cpl Date/Time properties

Wgpocpl.cpl Microsoft Mail Post Office

Note that in Windows 98, the Desk.cpl file is named Deskw95.cpl in the compressed cabinet (.cab) file. The file is renamed to Desk.cpl in the Windows\System folder.


出處:https://classicvb.net/tips/shellcpl.txt

Control Panel    (CONTROL.EXE)
--------------------------------
Control Panel:
    rundll32.exe shell32.dll,Control_RunDLL

Accessability Options    (ACCESS.CPL)
---------------------------------------
Accessability Properties (Keyboard):
    rundll32.exe shell32.dll,Control_RunDLL access.cpl,,1
Accessability Properties (Sound):
    rundll32.exe shell32.dll,Control_RunDLL access.cpl,,2
Accessability Properties (Display):
    rundll32.exe shell32.dll,Control_RunDLL access.cpl,,3
Accessability Properties (Mouse):
    rundll32.exe shell32.dll,Control_RunDLL access.cpl,,4
Accessability Properties (General):
    rundll32.exe shell32.dll,Control_RunDLL access.cpl,,5

Add/Remove Programs    (APPWIZ.CPL)
-------------------------------------
Add/Remove Programs Properties (Install/Uninstall):
    rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,1
Add/Remove Programs Properties (Windows Setup):
    rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,2
Add/Remove Programs Properties (Startup Disk):
    rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,3

Display Options    (DESK.CPL)
-------------------------------
Display Properties (Background):
    rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,0
Display Properties (Screen Saver):
    rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,1
Display Properties (Appearance):
    rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,2
Display Properties (Settings):
    rundll32.exe shell32.dll,Control_RunDLL desk.cpl,,3

Regional Settings    (INTL.CPL)
---------------------------------
Regional Settings Properties (Regional Settings):
    rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,0
Regional Settings Properties (Number):
    rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,1
Regional Settings Properties (Currency):
    rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,2
Regional Settings Properties (Time):
    rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,3
Regional Settings Properties (Date):
    rundll32.exe shell32.dll,Control_RunDLL intl.cpl,,4

Joystick Options    (JOY.CPL)
-------------------------------
Joystick Properties (Joystick):
    rundll32.exe shell32.dll,Control_RunDLL joy.cpl

Mouse/Keyboard/Printers/Fonts Options    (MAIN.CPL)
-----------------------------------------------------
Mouse Properties:
    rundll32.exe shell32.dll,Control_RunDLL main.cpl @0
Keyboard Properties:
    rundll32.exe shell32.dll,Control_RunDLL main.cpl @1
Printers:
    rundll32.exe shell32.dll,Control_RunDLL main.cpl @2
Fonts:
    rundll32.exe shell32.dll,Control_RunDLL main.cpl @3

Mail and Fax Options    (MLCFG32.CPL)
---------------------------------------
Microsoft Exchange Profiles (General):
    rundll32.exe shell32.dll,Control_RunDLL mlcfg32.cpl

Multimedia/Sounds Options    (MMSYS.CPL)
------------------------------------------
Multimedia Properties (Audio):
    rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,0
Multimedia Properties (Video):
    rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,1
Multimedia Properties (MIDI):
    rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,2
Multimedia Properties (CD Music):
    rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,3
Multimedia Properties (Advanced):
    rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,4
 = = = = = = = = = = = = = = = = = = = = = = = = = = =
Sounds Properties:
    rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl @1

Modem Options    (MODEM.CPL)
------------------------------
Modem Properties (General):
    rundll32.exe shell32.dll,Control_RunDLL modem.cpl

Network Options    (NETCPL.CPL)
---------------------------------
Network (Configuration):
    rundll32.exe shell32.dll,Control_RunDLL netcpl.cpl

Password Options    (PASSWORD.CPL)
------------------------------------
Password Properties (Change Passwords):
    rundll32.exe shell32.dll,Control_RunDLL password.cpl

System/Add New Hardware Options    (SYSDM.CPL)
------------------------------------------------
System Properties (General):
    rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,0
System Properties (Device Manager):
    rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,1
System Properties (Hardware Profiles):
    rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,2
System Properties (Performance):
    rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,3
 = = = = = = = = = = = = = = = = = = = = = = = = = = =
Add New Hardware Wizard:
    rundll32.exe shell32.dll,Control_RunDLL sysdm.cpl @1

Date and Time Options    (TIMEDATE.CPL)
-----------------------------------------
Date/Time Properties:
    rundll32.exe shell32.dll,Control_RunDLL timedate.cpl

Microsoft Mail Postoffice Options    (WGPOCPL.CPL)
----------------------------------------------------
Microsoft Workgroup Postoffice Admin:
    rundll32.exe shell32.dll,Control_RunDLL wgpocpl.cpl


====================================================
SYSTEM WIZARDS
====================================================
Open With (File Associations):
    rundll32.exe shell32.dll,OpenAs_RunDLL d:\path\filename.ext

Run Diskcopy Dialog:
    rundll32 diskcopy.dll,DiskCopyRunDll

Create New Shortcut Wizard:
    'puts the new shortcut in the location specified by %1
    rundll32.exe AppWiz.Cpl,NewLinkHere %1

Install New Hardware Wizard:
    rundll32.exe sysdm.cpl,InstallDevice_RunDLL

Add Printer Wizard:
    rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL AddPrinter

Dial-up Networking Wizard
    rundll32.exe rnaui.dll,RnaWizard

Open a Scrap Document:
    rundll32.exe shscrap.dll,OpenScrap_RunDLL /r /x %1

Create a Briefcase:
    rundll32.exe syncui.dll,Briefcase_Create

View Printers:
    rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL PrintersFolder

View Fonts:
    rundll32.exe shell32.dll,SHHelpShortcuts_RunDLL FontsFolder

Pick a Time Zone Dialog:
    rundll32.exe shell32.dll,Control_RunDLL timedate.cpl,,/f