Boosting Efficiency in Win11 with Custom Cmd Commands
Boosting Efficiency in Win11 with Custom Cmd 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. NeoDownloader - Fast and fully automatic image/video/music downloader.
- 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
- 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
- Title: Boosting Efficiency in Win11 with Custom Cmd Commands
- Author: Richard
- Created at : 2024-08-08 10:54:09
- Updated at : 2024-08-09 10:54:09
- Link: https://win11-tips.techidaily.com/boosting-efficiency-in-win11-with-custom-cmd-commands/
- License: This work is licensed under CC BY-NC-SA 4.0.