8 handy Windows 10/11 command shortcuts you can set up with NirCmd

NirCmd software is a command line tool that you can use in Command Prompt on any Windows platform.

That software allows you to execute many commands that perform Windows tasks. Some NirCmd commands you can execute are very useful.

However, manually entering NirCmd commands to perform Windows tasks is not ideal. It would be much better to create desktop shortcuts and Windows 11/10 hotkeys to trigger NirCmd tasks whenever needed. Here's how you can set up some handy Windows command shortcuts with NirCmd.

How to set up NirCmd command shortcut on desktop

You can set up NirCmd command shortcuts by creating Windows desktop shortcuts for them. You can then assign hotkeys to activate NirCmd commands for their Windows desktop shortcuts. However, you must first download and extract the NirCmd command line utility as follows:

1. Open this NirCmd download website in the browser software.

2. Then scroll to the bottom of that page and click the Download_NirCmd_64-bit link there.

8 handy Windows 10/11 command shortcuts you can set up with NirCmd Picture 18 handy Windows 10/11 command shortcuts you can set up with NirCmd Picture 1

 

3. Next, open File Explorer and go to the folder where the NirCmd ZIP archive was downloaded.

4. Follow the instructions on how to extract files to extract the nircmd.zip archive. Extract the NirCmd folder to this user folder path:

C:Usersnircmd-x64

Now that you have downloaded and extracted the NirCmd utility, you can set up desktop shortcuts to execute the commands below. These are the steps to create a shortcut on Windows desktop for the NirCmd command:

1. Click any area on the Windows desktop with the right mouse button and select the New > Shortcut option .

8 handy Windows 10/11 command shortcuts you can set up with NirCmd Picture 28 handy Windows 10/11 command shortcuts you can set up with NirCmd Picture 2

2. Then enter (or copy and paste) one of the NirCmd commands below into the item location box as follows:

C:Usersnircmd-x64nircmd.exe NirCmd command

8 handy Windows 10/11 command shortcuts you can set up with NirCmd Picture 38 handy Windows 10/11 command shortcuts you can set up with NirCmd Picture 3

 

3. Click Next to continue to the last step in the wizard.

4. Enter a suitable name for your NirCmd command shortcut and select OK.

The item location box must include the full path of the extracted nircmd.exe file and one of the NirCmd commands specified below. You will need to modify the location specified above by replacing the NirCmd command with an actual command. For example, you need to enter the following information to create a desktop shortcut for the first NirCmd command specified below:

C:Usersnircmd-x64nircmd.exe nircmd.exe emptybin

Of course, that desktop shortcut will only work if you extract NirCmd into the Users folder as instructed above. You can extract NirCmd anywhere you want, but the full path of the software's extracted file must be included in the item location box before the command. You can view the full path for the nircmd.exe file by right-clicking on the file and selecting Properties .

8 handy Windows 10/11 command shortcuts you can set up with NirCmd Picture 48 handy Windows 10/11 command shortcuts you can set up with NirCmd Picture 4

Once you have created desktop shortcuts for the commands below, go ahead and try them out. Double-clicking desktop shortcuts will execute the NirCmd commands on which they are based.

How to set up NirCmd command shortcut

It would be more convenient to have hotkeys to execute NirCmd commands. You can create NirCmd command hotkeys for desktop shortcuts like this:

1. Right-click the NirCmd desktop shortcut to select Properties .

2. Click the Shortcut box and press the key combination to set the hotkey Ctrl + Alt or Ctrl + Shift .

8 handy Windows 10/11 command shortcuts you can set up with NirCmd Picture 58 handy Windows 10/11 command shortcuts you can set up with NirCmd Picture 5

 

3. Then select Apply to save your hotkey.

4. Click OK to exit the shortcut's properties window.

Now, press the shortcut to activate the NirCmd command shortcut on the desktop. However, do not delete the NirCmd desktop shortcuts for which you have created hotkeys. Hotkeys will not work without them.

If you don't want to clutter your desktop with shortcuts, you can move them into a subfolder. To do so, right-click on the desktop to select New > Folder and enter a folder title. Drag and drop shortcuts to folders on the desktop.

Examples of handy commands you can create with NirCmd

Now, you can set up desktop shortcuts and NirCmd keyboard shortcuts to get things done. Below are 8 handy NirCmd commands to create shortcuts.

1. Empty the Recycle Bin

A shortcut to emptying the Recycle Bin would certainly be handy, but Windows doesn't have it available. You can create a desktop shortcut or hotkey to empty the Recycle Bin with this NirCmd command:

nircmd.exe emptybin

2. Center all windows

This NirCmd command will center-align all minimized windows. This is a useful command for arranging windows on the desktop. The command to align windows to the center is:

nircmd.exe win center alltop

3. Sign out of Windows

Hotkey to log out of your Windows user account will be useful. You can create such shortcut using this NirCmd command:

nircmd.exe exitwin logoff

4. Read the copied clipboard item aloud

This NirCmd command will read the most recently copied text item on the Windows clipboard. Creating a hotkey for it will help you conveniently check what text you have copied to the clipboard. The NirCmd command to read aloud a copied clipboard item is:

nircmd.exe speak text ~$clipboard$

5. Activate Windows 11/10 screensavers

Do you have a screensaver you like to see? If so, set up a NirCmd command shortcut that will allow you to immediately activate that screensaver. You can create a desktop shortcut and keyboard shortcut to activate screensavers with this NirCmd command:

nircmd.exe screensaver

6. Close all open Windows File Explorer

This NirCmd command shortcut will close all open File Explorer windows. It will come in handy when you need to close multiple folder Explorer windows. The NirCmd command to close all open File Explorer windows is:

nircmd.exe win close class CabinetWClass

7. Place Calculator above all windows

The pre-installed Calculator app is definitely an app that many users need when browsing the web or using other software packages. You can create a NirCmd command shortcut to always keep Calculator above other windows when you are using that application. To do so, you will need to enter this command in the desktop shortcut's item location box:

nircmd.exe win settopmost title "Calculator" 1

8. Set brightness level

This NirCmd command shortcut will allow you to set the screen brightness level by pressing a hotkey. Enabling this command will change the brightness level set in Settings. The command needs to include a brightness value for setup. For example, the NirCmd command to set the brightness level to 60% looks like this:

nircmd.exe setbrightness 60 3
4 ★ | 1 Vote