NirCmd Changelog

What's new in NirCmd 2.87

Apr 24, 2024
  • Added ~$folder.localappdata$ variable.
  • Fixed the ~$folder.common_programfiles$ variable to use the correct folder (In previous versions it was identical to ~$folder.programfiles$ )

New in NirCmd 2.86 (Aug 3, 2019)

  • Fixed bug: elevate and other commands failed to work properly when there were many parameters after the command.

New in NirCmd 2.85 (Jun 23, 2019)

  • The runinteractive and runinteractivecmd commands now work properly even if you don't run them from a Windows service.
  • Fixed bug: The behvaiour of consolewrite command was unexpected when there was '%' character.

New in NirCmd 2.83 (Apr 19, 2019)

  • Added runinteractive and runinteractivecmd commands, which allows you to run a process or NirCmd command that accesses the GUI from a Windows service.
  • For example, if you try to use the savescreenshot command from a Windows service, you'll get a black image, because NirCmd cannot access the user interface from a Windows service.
  • You can solve this problem with runinteractivecmd command: nircmd.exe runinteractivecmd savescreenshot "c:tempscreenshot1.png"
  • Be aware that runinteractive and runinteractivecmd commands only work from a Windows service ('SYSTEM' user).

New in NirCmd 2.82 (Mar 22, 2019)

  • Fixed the savescreenshot or savescreenshotfull commands to work properly with DPI scaling.

New in NirCmd 2.81 (May 23, 2016)

  • Fixed bug: NirCmd failed to execute the cmdwait, loop and a few other commands after qboxcom and qboxcomtop commands

New in NirCmd 2.80 (Jan 31, 2016)

  • Fixed bug: clipboard readfile failed to read the last character of Ascii file.
  • Added writeufile and addufile to clipboard command, for writing files in Unicode.
  • Fixed the restartexplorer command to work properly on Windows 10.

New in NirCmd 2.75 (Aug 12, 2013)

  • Added new commands: moverecyclebin, suspendprocess , resumeprocess.
  • Added etitle option to the find parameter of win command.
  • 'clipboard readfile' command now reads Unicode files (UTF-8 and UTF-16).

New in NirCmd 2.71 (Oct 30, 2012)

  • Added runassystem command, which allows you to run a process with SYSTEM user (Works on Windows 7/8/Vista/2008)

New in NirCmd 2.70 (Sep 12, 2012)

  • Added new option to speak command: You can now save the entire speach into a .wav file that can be played with any media player (Instead of playing it directly to your sound card).
  • Added restartexplorer command, which simply restarts Windows Explorer gracefully.
  • Added screensavertimeout command, which allows you to set the screensaver timeout, in seconds.
  • Added togglemax, togglemin, togglehide, toggledisable actions to win command.
  • Added SystemSounds support for setappvolume, changeappvolume, and muteappvolume commands.
  • Fixed issue on Windows 7: 'win close alltopnodesktop' command caused a shutdown dialog-box to appear.
  • Fixed the setprimarydisplay to work properly.

New in NirCmd 2.65 (Jun 29, 2011)

  • Added setdefaultsounddevice command (for Windows 7/Vista/2008 only), which allows you to set the default sound device.
  • Added setsubunitvolumedb command (for Windows 7/Vista/2008 only), which allows you to set the volume of sound device subunits (Line In, Microphone, and so on)
  • Added mutesubunitvolume command (for Windows 7/Vista/2008 only), which allows you to mute/unmute the volume of sound device subunits (Line In, Microphone, and so on)

New in NirCmd 2.60 (Jun 22, 2011)

  • Added mediaplay command for playing audio file (.mp3, .wav, and so on) for the specified number of milliseconds.
  • Added changebrightness and setbrightness commands for setting the screen brightness on laptops and netbook computers.

New in NirCmd 2.55 (Jun 8, 2011)

  • On savescreenshot, savescreenshotfull, and savescreenshotwin commands, you can now specify *clipboard* as a filename, in order to save the screenshow into the clipboard
  • On savescreenshot command, you can now specify a rectangle to capture as x, y, width, and height instead of capturing the entire screen.

New in NirCmd 2.52 (Mar 28, 2011)

  • Added 'runas' command, which allows you to run a new process with the specified user name/password.
  • Added 'Flash' action to the win command, with allows you to flash the specified window.

New in NirCmd 2.51 (Mar 14, 2011)

  • Added 'focused' option for setappvolume, changeappvolume, and muteappvolume commands, which allow you to easily change the volume of the application that is currently in focus, on Windows 7/Vista/2008.
  • Added 'default_record' option for setsysvolume, changesysvolume, setsysvolume2, changesysvolume2, and mutesysvolume commands, which allows you set easily change the volume of default recording device, on Windows 7/Vista/2008.

New in NirCmd 2.50 (Feb 25, 2011)

  • Added 3 new sound volume commands to change or mute application volume on Windows 7/Vista/2008: setappvolume, changeappvolume, muteappvolume
  • Added new information command that shows you a message box with all sound devices on your Windows 7/Vista/2008 system: showsounddevices.

New in NirCmd 2.48 (Feb 23, 2011)

  • Fixed the problems with the timeout of the tray balloon in trayballoon command.

New in NirCmd 2.47 (Jan 20, 2011)

  • Fixed bug: The sendkeypress command didn't work properly with Fxx keys (F1, F2, and so on).

New in NirCmd 2.46 (Nov 28, 2010)

  • Added option to locate window by process in win command.
  • Added max and min options (Minimized and maximized windows) into exec and exec2 commands.
  • Added x64 builds of nircmd.exe and nircmdc.exe

New in NirCmd 2.45 (Oct 19, 2010)

  • Added trayballoon command - displays a tray balloon with your desired text and icon.
  • Added sendkeypress command - Alternative to the sendkey command. Allows you to send key press combination in much easier way, for example: sendkeypress ctrl+shift+esc
  • Added clonefiletime command to clone the date/time of existing file into one or more files.
  • Added setconsolemode command to set the console display mode - window or full screen.
  • Added setconsolecolor command to set the foreground and background colors of the console text.
  • Added consolewrite command to write text into the console window.
  • Added debugwrite for writing text into the debug output.
  • Added ~$folder.mydocuments$ variable.

New in NirCmd 2.41 (Feb 21, 2010)

  • Fixed a bug in elevate command: when running a program without parameters, NirCmd sent the elevate command string as a parameter of the program.

New in NirCmd 2.40 (Feb 16, 2010)

  • Added elevate and elevatecmd commands to run and execute commands with administrator rights under Windows 7/Vista/2008.
  • Added monitor parameter to setdisplay command, for using it with multiple monitors.
  • Added setprimarydisplay command.
  • Added folder.programfiles and folder.common_programfiles variables.
  • Added async_off, async_on, async_low for monitor command. You can try them if NirCmd.exe remains in memory when you use monitor on/off command.

New in NirCmd 2.37 (May 27, 2009)

  • Improved the help .chm file - Now it contains a link to every command
  • Added help command - Automatically opens the reference of the desired command in http://nircmd.nirsoft.net. For example, if you type 'nircmd.exe help speak', the reference page of speak command - http://nircmd.nirsoft.net/speak.html will be opened in your default browser

New in NirCmd 2.36 (May 19, 2009)

  • Fixed bug in script: Sometimes the last line in the script was not executed properly

New in NirCmd 2.35 (Apr 21, 2009)

  • Added loop command - execute a command multiple times.
  • Added currtime amd currdate variables.
  • waitprocess - Added option to execute a NirCmd command after the process was closed.
  • Added rem (or ;) command, just for adding remarks in a script.

New in NirCmd 2.30 (Apr 1, 2009)

  • Added speak command - Speaks the contents of the text or file that you specify, by using the Speech library (SAPI) that comes with Windows XP and Windows Vista.
  • Added savescreenshotfull command.

New in NirCmd 2.25 (Feb 2, 2009)

  • New actions for clipboard command - loadclp and saveclp (load/save in Windows .clp format)
  • New command: setprocessaffinity

New in NirCmd 2.20 (Jan 2, 2009)

  • New commands: waitprocess, setprocesspriority, qboxtop, qboxcomtop.
  • New action in clipboard command: copyimage (Copy image file to the clipboard)

New in NirCmd 2.15 (Jun 26, 2008)

  • New commands: setcursorwin, savescreenshotwin, filldelete

New in NirCmd 2.1.0.182 (Apr 14, 2008)

  • New commands: shellcopy, savescreenshot

New in NirCmd 2.05 (Feb 11, 2008)

  • New commands: shellrefresh, convertimage, convertimages
  • New option in clipboard command - saveimage

New in NirCmd 2.00 (Jun 18, 2007)

  • All sound volume commands and monitor command now works under Vista.
  • New commands: dlg, dlgany, sendkey, sendmouse, returnval
  • New actions in win command - dlgclick, dlgsettext, dlgsetfocus

New in NirCmd 1.84 (Jul 17, 2006)

  • Starting from this version, if you don't specify a sound device index in setsysvolume, changesysvolume, setsysvolume2, changesysvolume2 and mutesysvolume commands, the default sound device in control panel ("preferred device") is used.
  • New find options in win command: active, foreground, desktop