How to Setup and Use Nircmd

Nircmd is probably the most powerful command line tool by which you can perform hundreds of tasks. All you need to do is download the Nircmd.exe file on your computer and place it in a proper directory. It will make your command prompt line very powerful and so that you can perform countless numbers of tasks by using command prompt.

You can open the door of DVD drive, make your computer speak the text currently in the clipboard, increase or decrease system volume, mute, un-mute your computer, turn off monitor, log off the current user, turn off your computer, hide your internet explorer windows, hide the desktop window, hide/show clock on system tray, disable/enable your screensaver, and many other tasks. Here is the method to setup and use this tool.

Download Nircmd here

 

Extract all the three files given inside zip file using any file extractor tool.

copy nircmd folder How To Setup And Use Nircmd Command Line Tool

After extracting the file to anywhere on your desktop, click on the 33 KB nircmd.exe. It will show you the dialog box as shown in the screenshot below. Click on the “Copy to Windows Directory” button.

copy nircmd windows How To Setup And Use Nircmd Command Line Tool

In the next dialog box, click on the “Yes” button.

copy nircmd windows directory How To Setup And Use Nircmd Command Line Tool

It will copy the nircmd.exe file inside the Windows folder of the C drive. Now you don’t need to mention the path of nircmd.exe while giving the command.

nircmd copied windows How To Setup And Use Nircmd Command Line Tool

That’s how you can setup this powerful tool.

How to use Nircmd command line tool

Click on Start button or win+ r  and type cmd  in the search box. Click on the result or press Enter.

PrtScr capture

Now enter the following command in the cmd command prompt

nir

nircmd.exe cdrom open e:

Note: In my computer letter E is assigned to DVD drive. If any other letter assigned to that drive in your computer then you have to type that letter in the command. For example, if letter assigned to your computer’s drive is J then enter this command

nircmd.exe cdrom open j

It will open the door of your DVD drive.

Similarly you can use the below given command to mute the system volume.

nircmd.exe mutesysvolume 1

There are hundreds of commands you can give using command prompt. The download page contains all the commands available in Nircmd.

Leave a comment