NirCmd – Windows command line tool

NirCmd is a small command-line utility that allows you to do some useful tasks without displaying any user interface. By running NirCmd with simple command-line option, you can write and delete values and keys in the Registry, write values into INI file, dial to your internet account or connect to a VPN network .

There are some more commands such as restart windows or shut down the computer, create shortcut to a file, change the created/modified date of a file, change your display settings, turn off your monitor, open the door of your CD-ROM drive, and more..

NirCmd - Windows Command Line Tool
NirCmd – Windows Command Line Tool

Some of the possible silent command execution are:

  • Open the door of J: CD-ROM drive
  • Close the door of Y: CD-ROM drive
  • Increase/Decrease system volume by 2000 units (out of 65535)
  • Mute/Unmute the system volume
  • Create a shortcut on your desktop that switch the system volume between the mute and normal state.
  • Ask if you want to reboot, and if you answer ‘Yes’, reboot the computer.
  • Turn off or log off your computer
  • Minimize / Close all your Internet Explorer windows
  • Hide/Show all your Internet Explorer windows
  • Remove the title bar of My Computer window.
  • Create a shortcut on your desktop that closes all your Internet Explorer windows
  • Set the Windows Calculator as top-most window (above all other windows)
  • Kill (terminate) all instance of Internet Explorer processes
  • Copy all shortcuts on your desktop to another folder (f:\temp\desktop).
  • Restart service such as IIS, Apache,MySql.
  • Open the Registry key that you copied to the clipboard in RegEdit.
  • Change the date/time of the specified filename (creation time and modified time)
  • 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.

You can read more and download this tool over here:

Notify of
Inline Feedbacks
View all comments