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目录 ” 。
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 指挥名单 . 。
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 ) 。
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.然后单击完成。
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档案。
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 :在 ”后引号。
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标记: nircmd , , command line tool命令行工具 , , command line tools命令行工具 , , windows command line tools Windows命令行工具 , , xp command line tools XP的命令行工具 , , free command line tools免费的命令行工具 , , windows command line toolvista command line tools Windows命令行toolvista命令行工具
If you enjoyed this post, make sure you 如果您喜欢这个职位,请务必 subscribe to my RSS feed 订阅我的RSS馈送 ! !
» Filed Under »提交下 Computer Tips电脑提示
Related Posts相关文章
- How to navigate in the DOS command prompt如何浏览,在DOS命令提示符
- Automate Windows Tasks with AutoHotkey自动化的Windows任务与autohotkey
- How to create a secured and locked folder in Windows XP如何建立一个担保,并锁定文件夹在Windows XP
- How to setup Remote Desktop on Windows XP如何安装远程桌面在Windows XP
- How to open multiple programs in Windows at once如何打开多个程序在Windows一次

























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 :).这肯定会是一个很好的,除了对我: ) 。
Keith,祁俊文,
It’s definitely for someone like you then!这肯定是有人喜欢你,然后! I’m just starting to get into the whole Putty thing too!我刚刚开始涉足整个腻子的事太多了!
This is awesome.这是可怕。 It can help us increase our efficiency它可以帮助我们提高我们的效率