Page 1 of 3

NirCmd

Posted: Sat Jul 14, 2007 2:04 am
by Ennovy
I found a little, but smart commandline utility that:
allows you to do some useful tasks without displaying any user interface. By running NirCmd with simple command-line option, you can write and delete values and keys in the Registry, write values into INI file, dial to your internet account or connect to a VPN network, restart windows or shut down the computer, create shortcut to a file, change the created/modified date of a file, change your display settings, turn off your monitor, open the door of your CD-ROM drive, and many more...
You can even make scripts.

The website is lacated here: https://www.nirsoft.net/utils/nircmd.html

The full help file (also in the download): https://www.nirsoft.net/utils/nircmd2.html#using

Download links: https://www.nirsoft.net/utils/nircmd.zip
https://www.nirsoft.net/utils/nircmd-x64.zip

Posted: Mon Apr 14, 2008 11:25 pm
by Ennovy
New version of NirCmd (2.10)

Great software
Many features and size only 28 Kb :!:

Posted: Wed Dec 10, 2008 1:33 am
by Ennovy
I want to submit this application again, latest version is 2.15

IMHO it deservers to be in the TPFC database :wink:
Thanks and have a nice day :!:

Posted: Wed Dec 10, 2008 3:44 am
by JohnW
I have previously stated my view that command-line programs should be excluded from the database. I know that a number of members disagree with this and they made some valid points.

the short debate cropped up in ...

Code: Select all

http://portablefreeware.com/forums/viewtopic.php?t=1648&postdays=0&postorder=asc&highlight=console&start=45
I did make one suggestion ...
The thought goes through my mind that there might be a special section in the Forums where users could post console apps that they found useful. The best of these might well attract a GUI front-end from a keen programmer and migrate to the database.
Suffice to say this was not acted upon. Clearly the moderators thought this was not useful.

Posted: Wed Dec 10, 2008 6:36 am
by appsuser
I'll just say this...I found the NirCmd tool because it was posted in the forums on this site, and it's proven really useful in my "portable environment" build I carry with me on my thumbdrives and portable hard drives. Even if the scope of this site's database doesn't allow for command-line programs that would be useful in portable automation or script-tools, I encourage others to continue to post their finds in the portable freeware discussion forums. It just might be the tool someone else was looking for.

NirCmd

Posted: Mon Jan 05, 2009 5:56 am
by Cornflower
not a portable freeware because it is command line, but since virtually everything else by Nils Sofer is portable, I am noting its update:

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

Homepage
https://www.nirsoft.net/utils/nircmd.html
Download
https://www.nirsoft.net/utils/nircmd.zip
https://www.nirsoft.net/utils/nircmd-x64.zip

Re: Nircmd v2.20

Posted: Tue Feb 16, 2010 8:53 am
by guinness
V2.40 is available.

Re: Nircmd v2.20

Posted: Wed Oct 06, 2010 10:24 am
by NickR
V2.41 is available.

Re: Nircmd v2.20

Posted: Wed Feb 23, 2011 10:43 am
by Ruby
V2.45: 10/18/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.

V2.46: 11/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

V2.47: 01/20/2011
Fixed bug: The sendkeypress command didn't work properly with Fxx keys (F1, F2, and so on).

V2.48: 02/22/2011
Fixed the problems with the timeout of the tray balloon in trayballoon command.

Re: Nircmd v2.20

Posted: Fri Feb 25, 2011 4:08 pm
by Ruby
V2.50: 02/24/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.

Re: Nircmd v2.20

Posted: Tue Mar 15, 2011 8:27 am
by Ruby
V2.51: 03/13/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.

Re: Nircmd v2.20

Posted: Sun Mar 27, 2011 10:31 am
by Checker
NirCmd V2.52 is available :!:

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

Re: Nircmd v2.20

Posted: Wed Jun 08, 2011 6:21 am
by Checker
NirCmd V2.55 is available :!:

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

Re: Nircmd v2.20

Posted: Wed Jun 08, 2011 9:52 am
by webfork
Does anyone know an easy way to integrate this with existing automation tools?

Re: Nircmd v2.20

Posted: Wed Jun 08, 2011 11:48 am
by joby_toss
Like making .bat files (in same folder as nircmd.exe) and executing them using any hotkeys app (admin rights needed)?

Code: Select all

Echo off
start nircmd.exe monitor off
Exit
Or Executor keywords (put nircmd.exe in same folder as executor.exe and use the exact commands from nircmd.chm)?

Image

I think I have one or two nircmd commands in my PowerPro config. :)

Image