NirCmd's Guide to Streamlining Your Task Execution

NirCmd's Guide to Streamlining Your Task Execution

Joseph Lv12

NirCmd’s Guide to Streamlining Your Task Execution

The NirCmd software is a command-line tool you can utilize within the Command Prompt on any Windows platform. That software enables you to execute many commands that perform Windows tasks. Some of the NirCmd commands you can execute are very useful.

However, it’s not ideal to manually input NirCmd commands to carry out Windows tasks. It’s much better to create Windows 11/10 desktop and hotkey shortcuts for activating the NirCmd tasks whenever needed. This is how you can set up several handy Windows command shortcuts with NirCmd.

How to Set Up NirCmd Command Desktop Shortcuts

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

  1. Open this NirCmd download webpage in browser software.
  2. Then scroll right to the bottom of that page and click the Download_NirCmd_64-bit link there.
    The Download_NirCmd 64-bit link
  3. Next, open File Explorer and go to the directory where the NirCmd ZIP archive has been downloaded.
  4. Follow the instructions in our how-to unzip files guide to extract the nircmd.zip archive. Extract the NirCmd folder to this user directory path:
    C:\Users\nircmd-x64

Now that you’ve downloaded and extracted the NirCmd utility, you can set up desktop shortcuts for executing the commands below. These are the steps for creating a Windows desktop shortcut for a NirCmd command:

  1. Click any area of your Windows desktop with the mouse’s right button and select the New and Shortcut options.
    The Shortcut option
  2. Then input (or copy and paste) one of the NirCmd commands below in the item location box as follows:
    C:\Users\nircmd-x64\nircmd.exe NirCmd command
    The Create Shortcut window
  3. Click Next to continue to the final step in the shortcut wizard.
  4. Input 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 NirCmd command with an actual command. For example, you would need to input the following to create a desktop shortcut for the first NirCmd command specified below:

C:\Users\nircmd-x64\nircmd.exe nircmd.exe emptybin

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

A NirCmd file path

When you’ve created desktop shortcuts for the commands below, go ahead and try them out. Double-clicking the desktop shortcuts will execute the NirCmd commands they’re based on.

How to Set Up NirCmd Command Keyboard Shortcuts

It’s more convenient to have hotkeys for executing the NirCmd commands. You can create NirCmd command hotkeys for desktop shortcuts like this:

  1. Right-click on a NirCmd desktop shortcut to select Properties.
  2. Click in the Shortcut box and press a key combination to set up a Ctrl + Alt or Ctrl + Shift hotkey.
    The Shortcut key box
  3. Then select Apply to save your hotkey.
  4. Click OK to exit the shortcut’s properties window.

Now press your keyboard shortcut to activate the NirCmd command desktop shortcut. However, don’t delete the NirCmd desktop shortcuts for which you’ve created hotkeys. The hotkeys won’t work without them.

If you prefer not to clutter your desktop with shortcuts, you can move them into a subfolder. To do so, right-click the desktop to select New > Folder and input a directory title. Drag and drop the shortcuts into the folder on the desktop.

Examples of Handy Commands You Can Create With NirCmd

Now you can set up NirCmd desktop and keyboard command shortcuts that do all kinds of things. Here are eight handy NirCmd commands to create shortcuts for.

1. Empty the Recycle Bin

A keyboard shortcut for emptying the Recycle Bin would undoubtedly be handy, but Windows doesn’t have one. You can create a desktop shortcut or hotkey for emptying the Recycle Bin with this NirCmd command:

nircmd.exe emptybin

2. Center Align All Windows

This NirCmd command will centrally align all restored down windows. It’s a useful command for organizing windows on the desktop. The command for centrally aligning windows is:

nircmd.exe win center alltop

www.sentrypc.com

3. Log Out of Windows

A hotkey for signing out of your Windows user account would be useful. You can create such a keyboard shortcut with this NirCmd command:

nircmd.exe exitwin logoff

4. Read Out the Copied Clipboard Item

This NirCmd command will read out the most recently copied text item on the Windows clipboard. Creating a hotkey for it will give you a convenient way to check what text you’ve copied to the clipboard. The NirCmd command for reading a copied clipboard item aloud is:

`nircmd.exe speak text ~$clipboard—
title: NirCmd’s Guide to Streamlining Your Task Execution
date: 2024-06-21 14:43:49
updated: 2024-06-24 10:22:59
tags:
- windows10
- windows11
categories:
- os
- windows 11
description: This Article Describes NirCmd’s Guide to Streamlining Your Task Execution
excerpt: This Article Describes NirCmd’s Guide to Streamlining Your Task Execution
keywords: Task Automation Tips,Efficient Command Use,Streamline Task Process,NirCmd Mastery,Productivity Enhancement,Simplify Workflows Quickly,Cmd Optimization Guide
thumbnail: https://thmb.techidaily.com/693eb80266e384166dbf5061df1490b93fef1d7413beecc32c81165ba97ad08f.jpg

5. Activate Your Windows 11/10 Screensaver

Do you have a screensaver set that you love viewing? If so, set up a NirCmd command shortcut that enables you to immediately activate that screensaver. You can create a desktop and keyboard shortcut for activating the screensaver with this NirCmd command:

nircmd.exe screensaver

6. Close All Open File Explorer Windows

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

nircmd.exe win close class CabinetWClass

7. Keep the Calculator on Top of All Windows

The pre-installed Calculator app is one many users no doubt need when browsing the web or utilizing other software packages. You can create a NirCmd command shortcut that always keeps Calculator on top of other windows when you’re utilizing that app. To do so, you’ll need to input this command within a desktop shortcut’s item location box:

nircmd.exe win settopmost title "Calculator" 1

### 8\. Set the Brightness Level

This NirCmd command shortcut will enable you to set a screen brightness level by pressing a hotkey. Activating this command changes the brightness level set within Settings. The command needs to include a brightness value to set. For example, a NirCmd command for setting the brightness level to 60 percent looks like this:

nircmd.exe setbrightness 60 3

Create Handy Windows Task Shortcuts With NirCmd

Those are just a few handy Windows tasks for which you can create desktop and keyboard shortcuts with NirCmd commands. This NirCmd command reference page shows there are 105 NirCmd commands available for creating Windows task shortcuts. So, you can also create Windows task shortcuts for adjusting the volume, setting display resolution, restarting File Explorer, saving screenshots, converting images, and much more!

However, it’s not ideal to manually input NirCmd commands to carry out Windows tasks. It’s much better to create Windows 11/10 desktop and hotkey shortcuts for activating the NirCmd tasks whenever needed. This is how you can set up several handy Windows command shortcuts with NirCmd.

  • Title: NirCmd's Guide to Streamlining Your Task Execution
  • Author: Joseph
  • Created at : 2024-08-15 15:39:30
  • Updated at : 2024-08-16 15:39:30
  • Link: https://windows11.techidaily.com/nircmds-guide-to-streamlining-your-task-execution/
  • License: This work is licensed under CC BY-NC-SA 4.0.