NirCmd - Free command line tool for Windows XP and Vista nircmd -免費命令行工具用於W indowsX P和V ista

Posted on May 7, 2008 at 5:24 am張貼於2008年5月7日在上午05時24分

Are you scared of using the Windows command prompt to accomplish tasks?你害怕使用Windows命令提示符來完成任務? If so, you’re definitely missing out on some cool stuff you can do on your computer.如果是的話,您一定失踪列於一些很酷的東西,你可以做您的計算機上。 However, it’s understandable as the syntax can be quite technical and you really don’t want to mess something up if you don’t know what you’re doing.不過,這是可以理解的,因為語法可以相當的技術和你真的不想搞得一團糟的東西,如果你不知道什麼您正在做的。

Luckily, there is a free utility called NirCmd that you can use that extends the functionality of the command prompt and makes it a little bit easier to use DOS commands without having to know DOS.幸運的是,有一個免費的實用工具所謂nircmd ,您可以使用擴展的功能,命令提示符下,使一點點更容易使用DOS命令而不必知道DOS的。

NirCmd nircmd is a small command-line utility that allows you to do some useful tasks without displaying any command prompt user interface.是一個很小的命令行實用工具,讓您做了一些有益的任務時不顯示任何命令提示符的用戶界面。

You can use it to do all kinds of useful stuff for you such as writing and deleting values registry keys, writing values into INI file, dialing your  Internet account or connecting to a VPN network, restarting windows or shutting down the computer, creating a shortcut to a file, chaning the created/modified date of a file, changing your display settings, turning off your monitor, opening the door of your CD-ROM drive, and lots more!你可以使用它來盡一切種有用的東西為您如寫作,並刪去價值觀的註冊表項,寫作的價值觀到INI文件中,撥號網際網路帳戶或連接到VPN網絡,重新啟動Windows或關停計算機,建立一個捷徑到一個文件中, chaning創建/修改日期的文件,改變你的顯示設置,關掉您的監視器,敞開大門,您的CD - ROM驅動器,和地段更多!

The best thing about this program is that you can create a scheduled task to simple run any command you want at a set interval.最好的事情有關此計劃的是,您可以創建一個任務計劃,以簡單,運行任何命令你想在一套區間。 So you can create a scheduled task to turn off your monitor or turn off your computer every day at midnight or to mute the volume on your computer every morning.所以,您可以創建一個任務計劃要關閉您的監視器或關閉電腦,每天在午夜或靜音貨量在您的計算機上,每天早上。

Download the zip file (scroll all the way down) and un-zip the folder somewhere on your computer, preferably in My Documents or some location where it will stay permanently.下載zip檔案(滾動所有的方式向下)和聯合國郵編文件夾你的電腦某個地方,最好是在我的文件或一些位置,它會留下永久的。 Now double-click on the NirCmd.exe file and you’ll get a popup that has a button called “ Copy to Windows Directory “.現在雙擊該nircmd.exe文件和您將獲得一個彈出了一個按鈕,所謂的“複製到Windows目錄 ” 。

nircmd

Now you could simply run any of the commands by going to the Windows command prompt and typing something in. For example, go to Start, then Run and then type in CMD.現在,您可以簡單地運行任何命令去到Windows命令提示符和打字的東西英寸舉例來說,轉到開始,然後運行,然後鍵入在cmd 。 Now type in any command that was listed in the現在在任何類型的指揮,這是上市,在 command list 指揮名單 .

nircmd命令

This is great, but you still have to use the Windows command prompt.這是偉大的,但你仍然要使用Windows命令提示符。 Another nifty way to use Nircmd is to create a scheduled task, like I mentioned before.另一種漂亮的方式使用nircmd是創建一個任務計劃,像我前面提到的。 So first, go to Start , then Control Panel and then Scheduled Tasks .因此,第一,轉到開始 ,然後控制面板 ,然後排定的工作 Then go to File , New and choose Scheduled Task .然後轉到文件 ,並選擇新的計劃任務 Or double-click Add Scheduled Task.或雙擊添加任務計劃。

添加任務計劃

Click Next to start up the wizard.單擊下一步以啟動了嚮導。 Now you’ll have to choose the program you want to run.現在您可以選擇您想使用的程序運行。 Click Browse and then go to the directory where NirCmd was unzipped and choose nircmd.exe (not nircmdc.exe).單擊瀏覽然後轉到所在的目錄nircmd是解壓縮,並選擇nircmd.exe (不nircmdc.exe ) 。

新增排定的task1

You’ll automatically be brought to the next screen where you have to give your task a name.系統會自動將您帶到下一屏幕的地方,你必須給你的任務的名稱。 So if I want this to turn off my computer, I would name it something like “Turn Off Computer” and then choose whether you want it to be Daily, Weekly, Monthly, etc.所以,如果我想這要關閉我的電腦,我想它命名為類似“關閉計算機” ,然後選擇是否要它是每天,每週,每月,等等。

關閉計算機

In the next screen, you can select the time and the date to start running the command.在下一屏幕上,您可以選擇的時間和日期開始執行命令。 Click Next and type in the administrator user name and password for your computer.單擊下一步和類型,在管理員的用戶名和密碼,為您的計算機上。 Make sure the account is an administrator.確保帳戶是一個管理員。

計劃任務

Finally, review your settings and check the “ Open advanced properties for this task when I click Finish ” box.最後,審查您的設置,並選中“ 打開高級屬性為這項任務,當我單擊完成 ”框。 Then click Finish.然後單擊完成。

在Windows計劃任務

Now in the properties, you will see the tab Task and a box called Run at the top tha is pointing to the NirCmd.exe file.現在,在性能,您會看到標籤的任務和一個方框,所謂的運行在頂部臨屋區是指向該nircmd.exe檔案。

nircmd指揮

Now to run any specific task, just add the parameters after the last quotation mark.現在運行的任何具體任務,只是添加參數後,最後引號。 So if you wanted to open the CD ROM drive, just add a space and then “ cdrom open e: ” after the quotes.因此,如果你要開的CD ROM驅動器,只需添加一個空間,然後“ 開放的CDROM E :在 ”後引號。

nircmd選項

That’s it!這樣就大功告成了! Now that command will run according to the schedule you created.現在運行命令將按照預定計劃,你創造的。 You can change that last part to any of the other commands that were specified in the command list.你可以改變的最後部分,以任何其他命令中指定的命令清單。 For example,舉例來說,

mutesysvolume 1 - will mute the system volume mutesysvolume 1 -將靜音系統卷

monitor off - will turn off the monitor 監察小康 -將關閉監視器

exitwin poweroff - turn off your computer exitwin poweroff -關閉計算機

Just add any of these to the Run box like shown above.剛剛添加任何的這些運行框中一樣,上面顯示的。 If you want to have multiple commands run at different times, just create more scheduled tasks in the same way!如果您想要有多個命令運行在不同的時間,只需要建立更多的任務計劃,在同樣的方式! Great way to automate tasks on your computer easily!偉大的方式來自動化任務在您的計算機上很容易! Enjoy!享受!

Technorati Tags: Technorati標記: , , , , , ,

If you enjoyed this post, make sure you 如果您喜歡這個職位,請務必 subscribe to my RSS feed 訂閱我的RSS饋送 !

» Filed Under »提交下 Computer Tips電腦提示

Related Posts相關文章

3 Responses to “NirCmd - Free command line tool for Windows XP and Vista” 3回應“ nircmd -免費命令行工具用於W indowsX P和V ista”

  1. Keith Dsouza 祁俊文dsouza said on : 說:

    Definitely looks like a good software to have, being a software engineer I use putty and cmd almost half my day.肯定看起來像一個良好的軟件有,作為一個軟件工程師我用膩子和cmd幾乎有一半我的天。 This would definitely be a good addition for me :).這肯定會是一個很好的,除了對我: ) 。


  2. akishore akishore said on : 說:

    Keith,祁俊文,

    It’s definitely for someone like you then!這肯定是有人喜歡你,然後! I’m just starting to get into the whole Putty thing too!我剛剛開始涉足整個膩子的事太多了! ; )


  3. Madhur Kapoor madhur卡普爾 said on : 說:

    This is awesome.這是可怕。 It can help us increase our efficiency它可以幫助我們提高我們的效率


    Please post your comments/suggestions!請張貼您的意見/建議!