The following new commands were added to the new version (2.45) of NirCmd. You can download the latest version of NirCmd from this Web page.
- trayballoon: Allows you to easily displays a balloon with the desired text, title, and icon in the system tray of Windows.
Example of using this command:
nircmd.exe trayballoon “Hello” “This is the text that will be appear inside the balloon !” “shell32.dll,-154” 10000 - sendkeypress: This command is a new alternative for the sendkey command. sendkeypress is much easier to use if you want to send multiple key press combinations.
Example of using this command:
nircmd.exe sendkeypress ctrl+shift+esc alt+tab
(This command will send ctrl+shift+esc keys combination and then alt+tab keys combination) - clonefiletime: This command simply clones the file date/time information into one or more files.
- setconsolemode – Set the console mode (only for nircmdc.exe) – full screen mode or console window mode.
- setconsolecolor – Allows you to set the foreground and background color of the console window text.
- consolewrite – Simply write text into the stdout.
- debugwrite – Write text into the debug output.
Mikael says:
Thanks for the update 😀
October 19, 2010, 6:59 amOla says:
A command to only display a tray icon would be nice. It would be displayed as long as nircmd is running but the command doesn’t make other commands wait in a script.
Thank you.
October 22, 2010, 7:08 amDUDE says:
once again thank you for these wonderful updates.
November 1, 2010, 3:58 pmone thing i would personally love to see would be a update button within nirlauncher so that we can update the individual apps within directly from the gui.
raed says:
in windows 7 64 bit, is it possible to place NirCmd.exe in the windows directory, and place a couple of shortcuts to it (anywhere but on the desktop), one of the short cuts with: cdrom close D: argument, and the other with cdrom open D: and assign hotkeys to the shortcuts?
the shortcuts hotkeys work as long as the shortcuts are placed on the desktop itself, once the shortcuts are placed anywhere else apart from the desktop, the hotkey functions don’t work anymore.
November 11, 2010, 1:02 pmgangi says:
Is there a possibility to add a command “switch default sound device (sound card)” ?
November 29, 2010, 11:31 amdragonmage says:
Hello Nir,
As a member of the Rainmeter Team http://www.rainmeter.net I would like to thank you for this excellent utility. NirCmd is used by quite a lot of people in the Rainmeter Community to help Rainmeter perform tasks it is not designed to do on it’s on. It is so well liked that I have made it the first entry in our yet-to-be-made-public “Approved Addons” section of our site. http://rainmeter.net/RainCMS/?q=Addons_Nircmd I will soon add a detailed tutorial on using NirCmd with Rainmeter.
I have a question for you. Is there a method that I am not seeing for writing or appending text to a file by a means other than the “clipboard” commands? I have worked out a method which would allow us to run NirCmd scripts using parameters supplied by a Rainmeter skin, but it requires setting the parameters to the clipboard then writing from the clipboard to the paramsfile.
It would also be very helpful to the portability of skins if NirCmd scripts could accept paths relative to the directory that contains the script and/or relative to a working directory set by the commandline that initiates the script. I would like to be able to use “..\..\Foldername\appname.exe” in the .ncl rather than have to require users to manually edit an .ncl that is included with a downloaded skin.
Thank You,
December 2, 2010, 3:42 pmdragonmage
Schuss says:
Great Enhancement to NirCmd
A few suggestions:
😥 Help is missing in NirLauncher for NirCmd (nircmdc.exe) because:
● Help is named nircmd.chm (not nircmdc.chm)
● The help=NirCmd.chm parameter is broken in NirLauncher v1.11
● Meanwhile, you could renamed help to: nircmdc.chm
→Set the default folder for Command-Line Utilities (so they run):
● [DefaultRunOptions]
● CurrDir=.\
● NirSoftUseCurrDir=1
Thanks so much – Your Command-Line Utilities Rock!
May 25, 2011, 5:19 pmSchuss says:
Great Enhancement to NirCmd
A few suggestions:
😥 Help is missing in NirLauncher for NirCmd (nircmdc.exe) because:
…● Help is named nircmd.chm (not nircmdc.chm)
…● The help=NirCmd.chm parameter is broken in NirLauncher v1.11
…● Meanwhile, you could rename help to: nircmdc.chm
→Set the default folder for Command-Line Utilities (so they run):
May 26, 2011, 12:12 am…● [DefaultRunOptions]
…● CurrDir=.\NirSoft 💡 {corrected}
…● NirSoftUseCurrDir=1
ivan says:
Nice tool.
I noticed when taking screenshot from remote computer svchost command window appear in the middle of the screen. It covers 60-70% of screen. So taking screenshots from remote computer is a bit useless.
December 6, 2013, 8:49 pm