NirCmd is a freeware utility that allows you to perform tasks from the command line, .bat files, desktop shortcuts and even 그 커맨드 라인에서,. 박쥐 파일을 바탕 화면에 바로 가기와도 작업을 수행할 수있는 프리웨어 유틸리티입니다 Launchy . There’sa large list of commands on the NirCmd website. the NirCmd 웹사이트에 명령의 대형 There'sa 목록입니다. I’ve picked out a few that I’ve found useful, but you may find another great use for NirCmd after reading through the examples. 나는 내가 몇 가지 유용한 점을 발견했습니다 골랐다했지만, 당신은 예제를 통해 읽은 후 또 다른 위대한 NirCmd 사용 찾을 수있습니다. This was written and tested in WindowsXP but it should also work in other versions of Windows. 이 작성되었으며 WindowsXP에서 테스트를하지만 그것도 다른 버전의 Windows에서 작동한다.
To get started download 다운로드를 시작하려면 NirCmd , the link is all the way at the bottom of the page. , 링크 페이지의 하단에있는 모든 방법입니다. Next unzip the contents to a folder; I would suggest something simple such as C:\NirCmd\ if you use something else, substitute that wherever you see C:\NirCmd\ 다음 폴더에 압축을 풉니다 내용; 나 C와 같은 단순한 제안하는 것이 : \ NirCmd \ 만약 당신이 어디를 C : \ NirCmd \ 뭔가 다른, 대체 사용
Note: NirCmd may display as a virus, spyware, or potentially unwanted program on some anti-virus and anti-spyware programs (Sophos is one) this is because certain viruses and spyware include and use NirCmd to perform actions on the users PC. 참고 : - NirCmd 일부 안티 바이러스 및 안티 - (소포스는 하나의 프로그램을 스파이웨어는 바이러스, 스파이웨어 또는 잠재적으로 원치 않는 프로그램으로) 특정 바이러스 및 스파이웨어를 포함하여 사용하기 때문에 사용자가 PC에서 작업을 수행할 NirCmd이 표시될 수있습니다. However it is also used by many good programs as well, such as UBCD (which I may cover later), and by itself it poses no risk. 그러나 또 많은 좋은 프로그램뿐만 아니라, UBCD 등 (나중에) 표지 수 있으며, 사용되는 자체가 더 위험에 노출됩니다.
The simplest way to use NirCmd is in the command line, however this article will concentrate on writing commands out in a file and using desktop shortcuts and Launchy to run them. NirCmd 사용하는 가장 간단한 방법은 커맨드 라인에있다, 그러나이 문서 파일에 쓰기 명령을 실행하는 단축키와 Launchy를 사용하여 바탕 화면에 집중한다. For a simple test, open up Notepad or your text-editor of choice and type in (or copy and paste): 간단한 테스트 들어, 메모장이나 텍스트를 열어 - 선택하고 (또는 복사 및 붙여넣기)에 유형의 편집기 :
C:\nircmd\nircmd.exe monitor off 에 C : \ nircmd \ nircmd.exe에서 모니터
Save the file in your C:\NirCmd\ folder as MonitorOff.bat the exact name does not matter, but it should describe what it does. 여러분의 C에서 파일 : \ NirCmd \ 폴더 MonitorOff.bat 중요하지 않아 정확한 이름으로 저장,하지만 그건 뭘하는지 설명한다.
Now you should have MonitorOff.bat sitting in the C:\NirCmd\ folder, double-click on it to put your monitor into power save mode (you can move the mouse or hit a key to turn it back on). 지금은 C에 앉아 MonitorOff.bat : \ NirCmd \ 폴더를 두 번 클릭에 전력으로 모드를 저장할 - 모니터에 새겨넣어야한다 (당신은 마우스를 이동하거나 다시 켜고 키를 누르면됩니다). You can then place a shortcut to MonitorOff.bat on your desktop, to do so Right-Click on MonitorOff.bat and select Send To and click Desktop (Create Shortcut) . 그런 다음 바탕 화면에 MonitorOff.bat, 그래서 바로 할 수있는 지름길이 자리 - MonitorOff.bat에 클릭 및 바탕 화면을 누르고 보내기를 선택하고 ()의 바로 가기를 만듭니다. Another method I like to use is to simply select MonitorOff.bat with a single-click then hold down Alt and drag the file onto the desktop. 내가 사용하는 것처럼 또 다른 방법은 단순히 한 - MonitorOff.bat을 선택하고 다음을 클릭 Alt를 누른 채 바탕 화면에 파일을 드래그하면됩니다.
If you look carefully in the above screenshot, you’ll notice another .bat file titled wait2 screenshot.bat this one is a set of two commands to wait two seconds and then take a screenshot which is saved as shot.png in C:\Nircmd this comes in handy to capture a screenshot when you can’t just hit Ctrl + Print Screen which I what I normally use for screenshots. 위의 화면을 캡처하면 신중을 보면 다른 것을 알 수있습니다. 박쥐 wait2 screenshot.bat이 두 명령 중 하나라는 제목의 파일을 2 초 기다린 다음은 C에서 shot.png로 저장된 화면 캡처를 받아 한 세트입니다 : \ Nircmd이 편리하게 화면을 캡처하면 그냥하면 Ctrl + Print Screen을 맞출 수 없어 내가 무엇을 정상적으로 스크린샷을 캡처하는 데 사용할 온다. Here is what the file contains: 여기 파일이 무엇을 포함하고있습니다 :
C:\nircmd\nircmd.exe cmdwait 2000 savescreenshot “C:\Nircmd\shot.png” 에 C : \ nircmd \ nircmd.exe cmdwait 2000 savescreenshot는 "C : \ Nircmd \ shot.png"
Next up is a useful desktop shortcut to mute and un-mute the sound. 다음은 벙어리와 유엔 유용한 바탕 화면에 바로 가기 - 소리 벙어리입니다. In a new file enter: 새 파일에 입력 :
C:\nircmd\nircmd.exe cmdshortcut “~$folder.desktop$” “Mute Unmute” mutesysvolume 2 에 C : \ nircmd \ nircmd.exe cmdshortcut "~ $ $ folder.desktop" "음소거 Unmute"2 mutesysvolume
Save the file in C:\NirCmd as Mute Unmute.bat you can also call change the “Mute Unmute” above in quotes to something else (the example on the website has “Switch Volume”), this will change the name of the desktop shortcut, you can also change any shortcut name later by right-clicking on it and selecting Rename . C에서 파일을 할인 금액 : \ NirCmd 음소거 Unmute.bat로 또한 웹사이트에서 "음소거 Unmute"을 따옴표 안에 뭔가 이상 (예를 변경 호출할 수있습니다 "") 스위치 볼륨있다, 이것이 바탕 화면의 이름을 변경한다 지름길도 저장 오른쪽 - 클릭하고 이름 바꾸기를 선택하여 바로 가기 이름을 변경할 수있습니다. Now double-click on Mute Unmute.bat to create a new shortcut on your desktop that should mute the sound the first time it is double-clicked and un-mute it the next. 이제 두 번 - Unmute.bat에 음소거를 클릭 소리가 그것을 더블 클릭하고 유엔이 처음 - 음소거해야 바탕 화면에 새로운 바로 가기를 만들려 - 벙어리 그것은 다음에. If the default icon for this is too boring for you, right-click the Mute Unmute shortcut on your desktop and select Properties , select the Shortcut tab on top and click the Change Icon button. 만약 당신이 너무 지루 오른쪽 - 클릭하여 바탕 화면의 바로 가기 '속성'을 선택한 음소거 Unmute 가기 바로 가기 탭을 클릭하십시오 아이콘 변경 버튼을 선택합니다에 대한 기본 아이콘을 클릭합니다. I personally like the speaker and music note icon as seen in the screenshot below. 나는 개인적으로 스피커와 음악 쪽지 아이콘처럼 아래의 스크린샷에서 본.
The question that originally led me to NirCmd was someone wanting a quick way to switch resolutions, as she wanted a lower resolution for older programs. 그녀는 이전 버전의 프로그램에 대한 낮은 해상도 싶었 원래 나를 NirCmd 주도의 질문에 누군가를 원하는 해상도로 전환하는 빠른 방법이었다. For this example I will use 800×600 with 32 bit colors as the lower resolution and 1280×1024 with 32 bit colors as the higher resolution, although you can substitute other resolutions such as 1024×768 or widescreen resolutions such as 1440×900 and 1680×1050. 난 더 낮은 해상도와 1,280 × 1,024 해상도로 높은 32 비트 색상과, 비록 1024 × 768 이상 해상도를 대체할 수있는 등 와이드 스크린 해상도로 32 비트 색상을 800 × 600과 1440 × 900과 같은 사용이 예를 들어 1680 × 1050. The last number, color depth should be 32 unless you are running very old programs and want 16 bit colors. 아주 오래된 프로그램을 실행하지 않는 경우 및 16 비트 색상을 원하는 마지막 번호, 색 농도를 32해야한다. First, for the lower resolution file enter: 첫째, 낮은 해상도 파일에 대한 입력 :
C:\nircmd\nircmd.exe cmdshortcut “~$folder.desktop$” “800×600″ setdisplay 800 600 32 에 C : \ nircmd \ nircmd.exe cmdshortcut "~ $ $ folder.desktop" "800 × 600"setdisplay 800 600 32
and save it in C:\NirCmd as 800×600 Resolution.bat 및 C에 저장 : \ 800 × 600으로 Resolution.bat NirCmd
Moving on to the larger resolution, make a new file with: 에 대한보다 큰 해상도로 이동, 새 파일을 만들 :
C:\nircmd\nircmd.exe cmdshortcut “~$folder.desktop$” “1280×1024″ setdisplay 1280 1024 32 에 C : \ nircmd \ nircmd.exe cmdshortcut "~ $ $ folder.desktop" "1280 × 1024"setdisplay 1280 1024 32
and save it in C:\NirCmd as 1280×1024 Resolution.bat 및 C에 저장 : \ 1,280 × 1,024으로 Resolution.bat NirCmd
Now you can double-click each of these to make desktop shortcuts called 800×600 and 1280×1024, double-click on the desktop shortcuts to quickly resize the desktop. 이제 두 번 누릅니다 이러한 각각의 바탕 화면에 바로 가기를 만들 수 - 800 × 600 × 1280 전화 1024, 이중 - 클릭하여 바탕 화면의 바로 가기에 신속하게 바탕 화면 크기를 조정할 수있다. As in the Mute Unmute example, you can change the icons to whatever you feel like, here are two I picked out of the default set, I’ll have to remember to do a post on custom icons in the future. 음소거 Unmute 예제에서처럼, 여기에 두 가지 제가 기본 설정의 골랐는데, 나는 미래에 사용자 정의 아이콘에 게시물을 할 기억을 갖고 있겠지만 당신 같은 어떤 느낌 아이콘을 변경할 수있습니다.
![]()
Before moving into some more advanced command sets, I’ll explain how this can work with Launchy. 좀 더 고급 명령 세트로 이동하기 전에, 나는이 Launchy가 작동할 수있는 방법을 설명해 줄게. Launchy should already scan the desktop for shortcuts and therefore find the examples that created desktop shortcuts. 이미 Launchy 따라서 바탕 화면의 바로 가기에 대한 예제를 찾을 만든 바탕 화면에 바로 가기를 스캔한다. However, you may not want to have all commands as desktop shortcuts, or you may want to type up commands on the fly. 그러나, 당신은 바탕 화면에 바로 가기로 모든 명령을, 또는 당신은 파리에 명령어를 입력하고 싶어했을 수도 있고 싶지 않을 수도있습니다. To do either of these, the C:\NirCmd folder should be added to Launchy’s catalog. 이 중 하나의 수행하려면는 C : \ NirCmd 폴더를 Launchy의 카탈로그에 추가되어 있어야합니다. Bring up Launchy, Right-Click on it and select Options . Launchy, 오른쪽 - 클릭하여 선택 옵션에 올라 와요. Here click on the Catalog tab and hit the + (plus) button under Directories to add C:\Nircmd while it is selected type *.bat in the text-entry box under file types and hit the + button right underneath it. 카탈로그 탭을 클릭하고 여기에 + (더하기했다) 버튼 디렉토리 아래에 추가 : \ Nircmd 텍스트를 입력하는 동안 *. 선택된 박쥐 - 파일 형식을 아래에 입력 상자와 오른쪽 아래에있는 + 버튼을 누르십시오. Do the same thing for *.exe, then make sure the box next to Executables is checked. 다음 상자 옆에 실행이 선택되어 있는지 확인하게, *. exe를 위해 같은 일을했다.
Now click Rescan Catalog and Launchy should add all of your .bat files in the folder as well as nircmd.exe . 지금 다시 검색을 누릅니다 카탈로그 및 Launchy뿐만 아니라 모든 폴더에 nircmd.exe. 박쥐의 파일을 추가해야합니다. To try this, bring up Launchy and type: 이 시도하려면, Launchy 가져다 입력 :
MonitorOff
It should find the MonitorOff.bat before you finish typing, hit Enter to run it and it should turn off your monitor. 타이핑 마무리하기 전에, 그것을 실행하려면 Enter 키를 누르십시오와 모니터를 해제해야 MonitorOff.bat 찾아야한다. All of the other .bat files created in C:\Nircmd should also be accessible by typing their filename in Launchy. 다른 모든. 방망이에 생성한 파일은 C : \ Nircmd도 Launchy를 입력하여 자신의 파일에 액세스할 수 있어야합니다.

You can also enter an NirCmd command directly from Launchy, in the Launchy box type: 또한 Launchy에서 직접, Launchy NirCmd 상자에서 명령을 입력할 수있습니다 :
nircmd
Next hit the Tab key and you should get nircmd -> in the launchy window. 다음은 탭 키를 누르면 및 nircmd 가야겠다 -> the Launchy 창에서. You can then type any Nircmd command after the -> 수 입력한 후 어떤 Nircmd 명령 ->
nircmd -> screensaver nircmd -> 화면 보호기
will turn on the screensaver. 화면이 켜집니다.
There are a lot of commands and examples to try out, especially since you can have multiple commands in a single .bat file. 이미 명령과 예제의 노력을 많이하고있다, 특히 이후 한. bat 파일에 여러 개의 명령을 할 수있습니다. Next up is a quick set of commands to tidy up Windows and logoff (good for a computer that has multiple users): 다음은 Windows 및 로그오프 몸단장에 명령의 빠른 설정됩니다 (즉, 여러 사용자가 컴퓨터에 대한) 좋은 :
C:\nircmd\nircmd.exe emptybin 에 C : \ nircmd \ nircmd.exe emptybin
C:\nircmd\nircmd.exe clipboard clear 에 C : \ nircmd \ nircmd.exe 클립 보드 취소
C:\nircmd\nircmd.exe exitwin logoff 에 C : \ nircmd \ nircmd.exe exitwin 로그오프
Save this as Logoff.bat in C:\NirCmd\ and when you are ready , running it will empty all of the recycling bins, clear the computer and log off the current user, be sure to only test this once you want to logoff as it will close all of your windows including unsaved documents. Logoff.bat으로 C에서이 할인 금액 : \ NirCmd \하고 준비가되면, 그것을 취소한 컴퓨터와, 현재 사용자 로그오프를 모두 재활용 쓰레기통을 비워 실행이 한번으로 원하는 테스트를 반드시 로그오프 모든 저장되지 않은 문서를 포함하여 창문을 닫습니다.
Note: Depending on your Launchy settings you may have to Rescan Catalog after making new .bat files or desktop shortcuts. 참고 : 귀하의 Launchy 설정에 당신을 다시 카탈로그에 새. 박쥐 파일이나 바탕 화면에 바로 가기를 만들고 이후에 따라 할 수도있습니다. This option is on the General tab on the bottom as Minutes between catalog updates . 이 옵션은 일반 탭의 분 카탈로그 업데이 트를 사이로 바닥에있다. If you have it set to 0 which is for manual updates only , then you will have to rescan the catalog whenever you want new commands and shortcuts added to Launchy. 당신은 그것을 0으로하는 경우 수동으로 업데이 트에 대해서만 다음 때마다 새로운 명령과 바로 가기를 원하는 카탈로그를 다시 설정해야한다 Launchy에 추가됩니다.
There are many more commands to cover, including ones that manipulate files, enter text, or even move and click the mouse. 거기서 애들 파일을 조작하는 텍스트를 입력하거나 이동하고 마우스를 클릭 등 표지에 더 많은 명령이있습니다. Please feel free to leave a comment requesting additional help or examples. 코멘트를 추가로 도움을 요청하시기 바랍니다 또는 예제를 떠나 무료입니다.


























{ 5 comments… read them below or 오 아래 (... 아니면 그들의 의견을 읽고 add one 하나 추가 } )
Haven’t had a good look at this yet, but I think it would be more useful with AutoHotKey than Launchy. 아직이에서 좋은 모습을,하지만 난 그것보다 더 AutoHotKey Launchy 유용할 것 같은데.
Great tuto man!! 위대한 사람 tuto!!
Thanks! 감사합니다!
hey great even works with my launch app called key launch but i can only get monitor off and empty recycl;e bin to work any reasons why i cant get the resolution one to work and can you put more on 좋지요 심지어 내 발사 열쇠를 발사 애플 리케이션과 함께 작동하지만 난 오직 모니터 비어 recycl에서 얻을 수있는 전화, 전자 빈 그래서 내가 일을 해결 하나 가져와 은어를 넣어 좀 더 일할 수있는 이유
Good tutorial, but is there any way to Switch User? 튜토리얼, 좋아하지만 사용자 전환 방법은 없나요? Launchy itself will only allow you to Log Off so hoping NirCmd can add this. Launchy이 추가 되길 바라고있습니다 자체에만 너무 NirCmd 로그오프 수있게된다.
Colin: 콜린 :
I’m not sure off-hand why the monitor script is not working, I would check which resolutions you can use in your monitor’s display settings (right-click on the desktop and select properties and select the settings tab). 전 이만 잘 모르 겠네 - 손은 왜 모니터 스크립트가 작동하지 않습니다, 나는 당신의 모니터의 디스플레이 설정에서 (오른쪽 - 바탕 화면의 특성을 선택하고 설정 탭을 선택을 클릭합니다)를 사용할 수있는 해상도를 확인했다. Then try to set it to one of those resolutions with the command C:\NirCmd\nircmd.exe setdisplay 1024 768 32 or whatever resolution you need. 다음 중 하나 명령으로 C : \ NirCmd \ nircmd.exe setdisplay 1,024 768 32이든 뭐든 필요와 그 해결 방법의 해상도로 설정하려고합니다.
Ian: 이안 :
I didn’t see any commands to switch user in the NirCmd documentation, however it is an active project where they will add new commands with each new version, so I would contact the dev team about getting it added for the next version. 내가 NirCmd 설명서에서 사용자로 전환하는 모든 명령을 보지 못했어요, 그러나 그들이 어디 새 버전이 나올 때마다 새로운 명령을 추가할 예정중인 프로젝트, 그래서 제가 차기 버전에 대한 추가 방법에 대해 함께 dev 팀에 문의는 것이다. http://www.nirsoft.net/contact-new.html
Leave a Comment 코멘트를 남겨주세요