───────────────────────────────────────────────
윈도우 제어판 항목 명령어로 실행하기
//From. https://learn.microsoft.com/ko-kr/windows/win32/shell/executing-control-panel-items
───────────────────────────────────────────────
【 요약 】
성능: %windir%\system32\SystemPropertiesPerformance.exe
원격 액세스: %windir%\system32\SystemPropertiesRemote.exe
컴퓨터 이름: %windir%\system32\SystemPropertiesComputerName.exe
시스템 보호: %windir%\system32\SystemPropertiesProtection.exe
고급 시스템 속성: %windir%\system32\SystemPropertiesAdvanced.exe

프로그램 추가 또는 제거: %windir%\system32\control.exe /name Microsoft.ProgramsAndFeatures
Windows 기능: %windir%\system32\OptionalFeatures.exe

키보드: %systemroot%\system32\control.exe /name Microsoft.RegionalAndLanguageOptions /page /p:"keyboard"
위치: %systemroot%\system32\control.exe /name Microsoft.RegionalAndLanguageOptions /page /p:"location"
관리: %systemroot%\system32\control.exe /name Microsoft.RegionalAndLanguageOptions /page /p:"administrative"

폴더 검색: %windir%\system32\rundll32.exe shell32.dll,Options_RunDLL 2
파일 연결: %windir%\system32\control.exe /name Microsoft.DefaultPrograms /pagefileAssoc
보기: %windir%\system32\rundll32.exe shell32.dll,Options_RunDLL 7
일반: %windir%\system32\rundll32.exe shell32.dll,Options_RunDLL 0

현재 계획 설정 편집: %windir%\system32\control.exe /name Microsoft.PowerOptions /pagePlanSettings
시스템 설정: %windir%\system32\control.exe /name Microsoft.PowerOptions /pageGlobalSettings
전원 계획 만들기: %windir%\system32\control.exe /name Microsoft.PowerOptions /pageCreateNewPlan
고급 설정 페이지에 대한 정식 명령이 없으며 이전 방식으로 액세스됩니다. %windir%\system32\control.exe powercfg.cpl,,3

control.exe desktop Launches the Display Properties window. Note: Starter and Basic Editions do not support this command.
control.exe color Launches the Display Properties window with the Appearance tab preselected.
control.exe date/time Launches the Date and Time Properties window.
control.exe international Launches the Regional and Language Options window.
control.exe mouse Launches the Mouse Properties window.
control.exe keyboard Launches the Keyboard Properties window.
control.exe printers Displays the Printers and Faxes folder.
control.exe fonts Displays the Fonts folder.

control.exe folders Launches the Folder Options window.
control.exe netware Launches the Novell NetWare window (if installed).
control.exe telephony Launches the Phone and Modem Options window.
control.exe admintools Displays the Administrative Tools folder.
control.exe schedtasks Displays the Scheduled Tasks folder.
control.exe netconnections Displays the Network Connections folder.
control.exe infrared Launches the Infrared Monitor window (if installed).
control.exe userpasswords Launches the User Accounts window.


〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
전체 문서
───────────────────────────────────────────────
//From. https://learn.microsoft.com/ko-kr/windows/win32/shell/executing-control-panel-items
//From. https://learn.microsoft.com/en-us/windows/win32/shell/executing-control-panel-items

아티클
2023. 06. 13.
기여자 8명
이 문서의 내용
Windows Vista 정식 이름
Windows Vista용 새 명령
레거시 제어판 명령
관련 항목
 참고

제어판 항목에 대한 정식 및 모듈 이름 목록을 찾는 경우 제어판 항목의 정식 이름을 참조하세요.

 

제어판 항목을 여는 방법에는 두 가지가 있습니다.

사용자는 제어판 연 다음 항목의 아이콘을 클릭하거나 두 번 클릭하여 항목을 열 수 있습니다.
사용자 또는 애플리케이션은 명령줄 프롬프트에서 직접 실행하여 제어판 항목을 시작할 수 있습니다.
애플리케이션은 WinExec 함수를 사용하여 프로그래밍 방식으로 제어판 열 수 있습니다.


복사
WinExec("c:\windows\system32\control.exe", SW_NORMAL);
다음 예제에서는 애플리케이션이 WinExec 함수를 사용하여 MyCpl.cpl라는 제어판 항목을 시작하는 방법을 보여 있습니다.


복사
WinExec("c:\windows\system32\control.exe MyCpl.cpl", SW_NORMAL);
명령줄을 통해 제어판 항목을 열면 항목의 특정 탭을 열도록 지시할 수 있습니다. 일부 Windows Vista 제어판 항목에서 특정 탭이 추가되고 제거되어 Windows XP에서 탭 번호 매기기가 변경되었을 수 있습니다. instance 경우 다음 예제에서는 Windows XP의 시스템 항목에서 네 번째 탭을 시작하고 Windows Vista의 세 번째 탭을 시작합니다.


복사
control.exe sysdm.cpl,,3
이 항목에서는 다음과 같은 내용에 대해 설명합니다.

Windows Vista 정식 이름
Windows Vista용 새 명령
레거시 제어판 명령
관련 항목
Windows Vista 정식 이름
Windows Vista 이상에서는 명령줄에서 제어판 항목을 시작하는 기본 방법은 제어판 항목의 정식 이름을 사용하는 것입니다. 정식 이름은 제어판 항목이 레지스트리에서 선언하는 지역화되지 않은 문자열입니다. 정식 이름을 사용하는 값은 제어판 항목의 모듈 이름을 추상화한다는 것입니다. 항목은 .dll 구현할 수 있으며 나중에 .exe 다시 구현하거나 모듈 이름을 변경할 수 있습니다. 정식 이름이 동일하게 유지되는 한 해당 정식 이름을 사용하여 정식 이름을 여는 모든 프로그램을 업데이트할 필요가 없습니다.

규칙에 따라 정식 이름은 "CorporationName.ControlPanelItemName"으로 구성됩니다.

다음 예제에서는 애플리케이션이 WinExec를 사용하여 제어판 항목 Windows 업데이트 시작하는 방법을 보여 있습니다.


복사
WinExec("%systemroot%\system32\control.exe /name Microsoft.WindowsUpdate", SW_NORMAL);
정식 이름으로 제어판 항목을 시작하려면 "%systemroot%\system32\control.exe /name canonicalName"을 사용합니다.

항목에서 특정 하위 페이지를 열거나 추가 매개 변수를 사용하여 열려면 다음을 사용합니다. "%systemroot%\system32\control.exe /name canonicalName /page pageName"

애플리케이션은 IOpenControlPanel::Open 메서드를 구현하여 특정 하위 페이지를 여는 기능을 포함하여 제어판 항목을 시작할 수도 있습니다.

제어판 항목 정식 이름의 전체 목록은 제어판 항목의 정식 이름을 참조하세요.

Windows Vista용 새 명령
Windows Vista에서 Windows XP의 .cpl 모듈에서 액세스한 일부 옵션은 이제 .exe 파일로 구현됩니다. 이렇게 하면 파일을 시작하려고 할 때 표준 사용자에게 관리자 자격 증명을 제공하라는 메시지가 표시되도록 하여 추가 보안을 제공합니다. 추가 보안이 필요하지 않은 옵션은 Windows XP에서 사용된 것과 동일한 명령줄에서 액세스합니다. 다음은 Windows Vista에서 특정 제어판 항목 탭에 액세스하는 데 사용되는 명령 목록입니다.

Personalization
글꼴 크기 및 DPI: %windir%\system32\DpiScaling.exe
화면 해상도: %windir%\system32\control.exe desk.cpl,설정,@Settings
표시 설정: %windir%\system32\control.exe desk.cpl,설정,@Settings
테마: %windir%\system32\control.exe desk.cpl,테마,@Themes
화면 보호기: %windir%\system32\control.exe desk.cpl,화면 보호기,@screensaver
다중 모니터: %windir%\system32\control.exe desk.cpl,Monitor,@Monitor
색 구성표: %windir%\system32\control.exe /name Microsoft.Personalization /pageColorization
바탕 화면 배경: %windir%\system32\control.exe /name Microsoft.Personalization /pageWallpaper
 참고

Starter 및 Basic Edition은 control.exe /name Microsoft.Personalization 명령을 지원하지 않습니다.

 

시스템
성능: %windir%\system32\SystemPropertiesPerformance.exe
원격 액세스: %windir%\system32\SystemPropertiesRemote.exe
컴퓨터 이름: %windir%\system32\SystemPropertiesComputerName.exe
시스템 보호: %windir%\system32\SystemPropertiesProtection.exe
고급 시스템 속성: %windir%\system32\SystemPropertiesAdvanced.exe
프로그램 및 기능
프로그램 추가 또는 제거: %windir%\system32\control.exe /name Microsoft.ProgramsAndFeatures
Windows 기능: %windir%\system32\OptionalFeatures.exe
국가 및 언어 옵션
키보드: %systemroot%\system32\control.exe /name Microsoft.RegionalAndLanguageOptions /page /p:"keyboard"
위치: %systemroot%\system32\control.exe /name Microsoft.RegionalAndLanguageOptions /page /p:"location"
관리: %systemroot%\system32\control.exe /name Microsoft.RegionalAndLanguageOptions /page /p:"administrative"
폴더 옵션
폴더 검색: %windir%\system32\rundll32.exe shell32.dll,Options_RunDLL 2
파일 연결: %windir%\system32\control.exe /name Microsoft.DefaultPrograms /pagefileAssoc
보기: %windir%\system32\rundll32.exe shell32.dll,Options_RunDLL 7
일반: %windir%\system32\rundll32.exe shell32.dll,Options_RunDLL 0
전원 옵션
현재 계획 설정 편집: %windir%\system32\control.exe /name Microsoft.PowerOptions /pagePlanSettings
시스템 설정: %windir%\system32\control.exe /name Microsoft.PowerOptions /pageGlobalSettings
전원 계획 만들기: %windir%\system32\control.exe /name Microsoft.PowerOptions /pageCreateNewPlan
고급 설정 페이지에 대한 정식 명령이 없으며 이전 방식으로 액세스됩니다. %windir%\system32\control.exe powercfg.cpl,,3
레거시 제어판 명령
WinExec 함수를 사용하면 시스템에서 특수 제어판 명령을 인식할 수 있습니다. 이러한 명령은 Windows Vista보다 이전입니다.

인수 Description
control.exe 데스크톱 표시 속성 창을 시작합니다. 참고: Starter 및 Basic Edition은 이 명령을 지원하지 않습니다.
control.exe 색 모양 탭이 미리 선택된 표시 속성 창을 시작합니다.
날짜/시간 control.exe 날짜 및 시간 속성 창을 시작합니다.
control.exe 인터내셔널 국가 및 언어 옵션 창을 시작합니다.
마우스 control.exe 마우스 속성 창을 시작합니다.
control.exe 키보드 키보드 속성 창을 시작합니다.
control.exe 프린터 프린터 및 팩스 폴더를 표시합니다.
control.exe 글꼴 글꼴 폴더를 표시합니다.
 

Windows 2000 이상 시스템의 경우:

명령 설명
control.exe 폴더 폴더 옵션 창을 시작합니다.
control.exe 넷웨어 Novell NetWare 창을 시작합니다(설치된 경우).
control.exe 전화 통신 휴대폰 및 모뎀 옵션 창을 시작합니다.
control.exe admintools 관리 도구 폴더를 표시합니다.
control.exe schedtasks 예약된 작업 폴더를 표시합니다.
control.exe netconnections 네트워크 연결 폴더를 표시합니다.
control.exe 적외선 적외선 모니터 창을 시작합니다(설치된 경우).
사용자 암호 control.exe 사용자 계정 창을 시작합니다.
 
profile