7 new commands added to version 2.45 of NirCmd

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.

  1. 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
  2. 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)
  3. clonefiletime: This command simply clones the file date/time information into one or more files.
  4. setconsolemode – Set the console mode (only for nircmdc.exe) – full screen mode or console window mode.
  5. setconsolecolor – Allows you to set the foreground and background color of the console window text.
  6. consolewrite – Simply write text into the stdout.
  7. debugwrite – Write text into the debug output.

8 Comments

  1. Mikael says:

    Thanks for the update 😀

  2. Ola 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.

  3. DUDE says:

    once again thank you for these wonderful updates.
    one 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.

  4. 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.

  5. gangi says:

    Is there a possibility to add a command “switch default sound device (sound card)” ?

  6. dragonmage 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,
    dragonmage

  7. 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! :mrgreen:

  8. 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 rename help to: nircmdc.chm

    →Set the default folder for Command-Line Utilities (so they run):
    …● [DefaultRunOptions]
    …● CurrDir=.\NirSoft 💡 {corrected}
    …● NirSoftUseCurrDir=1

  9. 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.

Leave a Reply