NirCmd Guide for Power Users: Optimize Win Commands
NirCmd Guide for Power Users: Optimize Win Commands
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:
- Open this NirCmd download webpage in browser software.
- Then scroll right to the bottom of that page and click the Download_NirCmd_64-bit link there.
- Next, open File Explorer and go to the directory where the NirCmd ZIP archive has been downloaded.
- 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:
- Click any area of your Windows desktop with the mouse’s right button and select the New and Shortcut options.
- 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
NeoDownloader - Fast and fully automatic image/video/music downloader. - Click Next to continue to the final step in the shortcut wizard.
- 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.
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:
- Right-click on a NirCmd desktop shortcut to select Properties.
- Click in the Shortcut box and press a key combination to set up a Ctrl + Alt or Ctrl + Shift hotkey.
- Then select Apply to save your hotkey.
- 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
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 Guide for Power Users: Optimize Win Commands”
date: 2024-06-21 10:25:16
updated: 2024-06-24 12:59:55
tags:
- windows10
- windows11
categories:
- os
- windows 11
description: “This Article Describes NirCmd Guide for Power Users: Optimize Win Commands”
excerpt: “This Article Describes NirCmd Guide for Power Users: Optimize Win Commands”
keywords: Win Command Optimizer,NirCmd Usage Tips,Power User Win Tweaks,Advanced Command Tricks,Mastering NirCmd,Efficient Windows Commands,Enhance Win Cmd Performance
thumbnail: https://thmb.techidaily.com/399b71f22f6a0f097f9f941327a817b697b933fa54dbaf37480f689ec0e73886.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 Guide for Power Users: Optimize Win Commands
- Author: Richard
- Created at : 2024-08-08 11:08:37
- Updated at : 2024-08-09 11:08:37
- Link: https://win11-tips.techidaily.com/nircmd-guide-for-power-users-optimize-win-commands/
- License: This work is licensed under CC BY-NC-SA 4.0.