NirCmd > information

본문 바로가기
사이트 내 전체검색

information

NirCmd

페이지 정보

작성자 서방님 댓글 0건 조회 268회 작성일 12-07-09 13:19

본문

NirCmd는 윈도우 그래픽적인 시각 효과 없이 작은 커맨드-라인으로 유용하게 사용할 수 있는 유틸리티 이다. 명령어모드에서 옵션을 주어 NirCmd는 레지스터리 키 값을 삭제하거나 쓸 수 있고, .ini 파일의 값을 쓸 수도 있고, 컴퓨터를 재시작할 수 있고, 바로가기를 만들고, 파일의 날짜를 변경하고, 화면 모드를 변경하고, CD-ROM 파일을 열고,....

 

NirCmd의 예

J: CD-ROM 드라이브 열기 nircmd.exe cdrom open j:

Y: CD-ROM 드라이브 닫기

nircmd.exe cdrom close y:

클립보드의 현재 텍스트를 말하기(XP와 Vista).

speak text ~$clipboard$

시스템 볼륨 2000까지 증가(65535까지)

nircmd.exe changesysvolume 2000

시스템 볼륨 5000까지 감소(65535까지)

nircmd.exe changesysvolume -5000

볼륨을 최대 값으로 셋팅

nircmd.exe setsysvolume 65535
볼륨 죽이기  nircmd.exe mutesysvolume 1

볼륨 살리기

nircmd.exe mutesysvolume 0

묵음과 일반 상태 사이에서 시스템 왔다갔다(스위치) 하기

nircmd.exe mutesysvolume 2

시스템 볼륨 묵음과 일반 상태에서 왔다갔다(스위치) 하기를 바로가기 생성하기

nircmd.exe cmdshortcut "~$folder.desktop$" "Switch Volume" mutesysvolume 2
모니터 끄기 nircmd.exe monitor off

기본 화면보호기 시작

nircmd.exe screensaver

컴퓨터를 대기모드(standby)로

nircmd.exe standby
현재 사용자 로그오프 nircmd.exe exitwin logoff

만약 리부팅을 원하면 "YES"를 누르면 컴퓨터는 리부팅

nircmd.exe qboxcom "Do you want to reboot ?" "question" exitwin reboot
컴퓨터 끄기 nircmd.exe exitwin poweroff

computers.txt 파일에 기술된 모든 컴퓨터 끄기

multiremote copy "c:\temp\computers.txt" exitwin poweroff force

"My internet" 연결 전화하기

nircmd.exe rasdial "My Internet"

"My Internet" 연결 끊기

nircmd.exe rashangup "My Internet"

인터넷 익스플로어 창을 75%로 만들기(192 / 256)

nircmd.exe win trans ititle "internet explorer" 192

모든 인터넷 익스플로어 창을 최소화 하기

nircmd.exe win min class "IEFrame"

모든 인터넷 익스플로어 창을 닫기 

nircmd.exe win close class "IEFrame"

모든 익스플로어 창을 닫기(내 컴퓨터, 폴더, 기타 등등)

nircmd.exe win close class "CabinetWClass"

모든 인터넷 익스플로어 창을 숨기기

nircmd.exe win hide class "IEFrame"

모든 인터넷 익스플로어 창을 표시

nircmd.exe win show class "IEFrame"

창을 상위 중앙에 두기

nircmd.exe win center alltop

내 컴퓨터 창에서 타이틀바 제거하기

nircmd.exe win -style title "my computer" 0x00C00000

조금전에 예에서 내컴퓨터 창에서 타이틀바를 제거했던 것을 다시 표시하기

nircmd.exe win +style title "my computer" 0x00C00000
Set the My Computer window to right-to-left order (For hebrew and arabic languages) nircmd win +exstyle title "my computer" 0x00400000
Set all child windows of My Computer window to right-to-left order (For hebrew and arabic languages) nircmd win child title "my computer" +exstyle all 0x00400000

'익스플로어 창 모두 닫기'를 바로가기 만들기

nircmd.exe cmdshortcut " "~$folder.desktop$ "Close All IE" win close class "IEFrame"
Create a shortcut on your desktop that hides all your Internet Explorer windows nircmd.exe cmdshortcut " "~$folder.desktop$ "Hide All IE" win hide class "IEFrame"
Create a shortcut on your desktop that shows back all your Internet Explorer windows nircmd.exe cmdshortcut " "~$folder.desktop$ "Show All IE" win show class "IEFrame"
Set the Windows Calculator as top-most window (above all other windows) nircmd.exe win settopmost title "Calculator" 1
Set the Windows Calculator back to regular window (non top-most window) nircmd.exe win settopmost title "Calculator" 0

시작 - 프로그램 - 계산기 위치에 '계산기 바로가기' 만들기 

nircmd.exe shortcut "f:\winnt\system32\calc.exe" "~$folder.programs$\Calculators" "Windows Calculator"

바탕화면 창 감추기

nircmd.exe win hide class progman

바탕화면 창 표시

nircmd.exe win show class progman

시스템 트레이에 시작 감추기

nircmd.exe win child class "Shell_TrayWnd" hide class "button"

시스템 트레이에 시작 표시

nircmd.exe win child class "Shell_TrayWnd" show class "button"

시스템 트레이에 시계 감추기

nircmd.exe win child class "Shell_TrayWnd" hide class "TrayClockWClass"

시스템 트레이에 시계 표시

nircmd.exe win child class "Shell_TrayWnd" show class "TrayClockWClass"
Kill (terminate) all instance of Internet Explorer processes nircmd.exe killprocess iexplore.exe
Create a shortcut on your desktop that opens the door of K: CDROM drive when you run it. nircmd.exe cmdshortcut "~$folder.desktop$" "Open CDROM" cdrom open k:
Create a shortcut to NirSoft Web site on your desktop nircmd.exe urlshortcut "http://www.nirsoft.net" "~$folder.desktop$" "NirSoft"

www.nirsoft.net 로 바로가기 url 만들기

nircmd.exe urlshortcut "http://www.nirsoft.net" "~$folder.favorites$\Links" "NirSoft"
Create a shortcut to NirSoft Web site on the desktop of all computers listed in computers.txt nircmd.exe multiremote copy "c:\temp\computers.txt" urlshortcut "http://www.nirsoft.net" "~$folder.common_desktop$" "NirSoft"

화면 모드를 800x600x24비트 칼라로 설정

nircmd.exe setdisplay 800 600 24
Create a shortcut on the desktop that set the display mode to 800x600x24bit colors nircmd.exe cmdshortcut "~$folder.desktop$" "800x600x24" setdisplay 800 600 24
Copy all shortcuts on your desktop to another folder (f:\temp\desktop). nircmd.exe execmd copy "~$folder.desktop$\*.lnk" f:\temp\desktop
Restart your Apache server (under Windows NT/2000/XP/2003) nircmd.exe service restart apache
Create a shortcut on your desktop that restarts the Apache server nircmd.exe cmdshortcut "~$folder.desktop$" "Restart Apache" service restart apache
Restart your IIS nircmd.exe service restart w3svc
Restart MySql nircmd.exe service restart MySql
Open the desired Registry key/value in RegEdit nircmd.exe regedit "HKLM\Software\Microsoft\Windows\CurrentVersion" "CommonFilesDir"
Open the Registry key that you copied to the clipboard in RegEdit. nircmd regedit "~$clipboard$"
Disable the screen saver nircmd.exe regsetval sz "HKCU\control panel\desktop" "ScreenSaveActive" 0
Enable the screen saver nircmd.exe regsetval sz "HKCU\control panel\desktop" "ScreenSaveActive" 1
Change the date/time of the specified filename (creation time and modified time) nircmd.exe setfiletime "c:\temp\myfile.txt" "24-06-2003 17:57:11" "22-11-2005 10:21:56"
Copy your desktop folder path to the clipboard nircmd.exe clipboard set ~$folder.desktop$
Copy your start menu folder path to the clipboard nircmd.exe clipboard set ~$folder.start_menu$
Copy the content of info1.txt (simple text file) to the clipboard nircmd.exe clipboard readfile "c:\My Files\info1.txt"
Add the text content of clipboard to info1.txt nircmd.exe clipboard addfile "c:\My Files\info1.txt"
클립보드 버퍼 깨끗하기 nircmd.exe clipboard clear
Create all folders specified in "c:\temp\folders.txt". The folder path names are separated by CRLF characters. nircmd.exe paramsfile "c:\temp\folders.txt" "" "" execmd md ~$fparam.1$
Install the specified .NET assembly in the global assembly cache (like gacutil) nircmd.exe gac install "C:\temp\MyAssembly\bin\MyAssembly.dll"

모든 드라이브 휴지통 비우기

nircmd.exe emptybin

표준 윈도우 메시지 박스에 "Yes" 표시

nircmd.exe dlg "" "" click yes
Wait 2 seconds, and then save the current screen to shot.png nircmd.exe cmdwait 2000 savescreenshot "f:\temp\shot.png"
Save 10 screenshots in a loop, and wait 60 seconds between the screenshot save calls. The filenames of the screenshot will contain the time and date of the saved screenshot. nircmd.exe loop 10 60000 savescreenshot c:\temp\scr~$currdate.MM_dd_yyyy$-~$currtime.HH_mm_ss$.png
Wait until Fixfox is closed, and then say "Firefox was closed" waitprocess firefox.exe speak text "Firefox was closed"

 

시스템 요구사항

Windows 9x/ME, Windows NT, Windows 2000, Windows XP, Windows Server 2003, and Windows Vista. However, some of NirCmd commands works only on Windows NT/2000/XP/2003/Vista.

 

 

http://nirsoft.net/utils/nircmd.html

설명서

http://nirsoft.net/utils/nircmd2.html#using

첨부파일

  • nircmd.zip (85.5K) 0회 다운로드 | DATE : 2012-07-09 13:18:58

댓글목록

등록된 댓글이 없습니다.

Total 1,196건 60 페이지
게시물 검색

회원로그인

접속자집계

오늘
40
어제
302
최대
1,347
전체
155,101
Latest Crypto Fear & Greed Index

그누보드5
Copyright © 서방님.kr All rights reserved.