NirCmd

Discuss anything related to portable freeware here.
Message
Author
User avatar
Ennovy
Posts: 424
Joined: Mon Mar 12, 2007 5:21 am
Location: The Netherlands

NirCmd

#1 Post by Ennovy » Sat Jul 14, 2007 2:04 am

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
Tough times never last but tough people do
-- Robert H. Schuller --

User avatar
Ennovy
Posts: 424
Joined: Mon Mar 12, 2007 5:21 am
Location: The Netherlands

#2 Post by Ennovy » Mon Apr 14, 2008 11:25 pm

New version of NirCmd (2.10)

Great software
Many features and size only 28 Kb :!:
Tough times never last but tough people do
-- Robert H. Schuller --

User avatar
Ennovy
Posts: 424
Joined: Mon Mar 12, 2007 5:21 am
Location: The Netherlands

#3 Post by Ennovy » Wed Dec 10, 2008 1:33 am

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 :!:
Tough times never last but tough people do
-- Robert H. Schuller --

JohnW
Posts: 386
Joined: Wed Apr 19, 2006 9:18 am
Location: London, UK

#4 Post by JohnW » Wed Dec 10, 2008 3:44 am

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.

appsuser
Posts: 123
Joined: Fri Feb 08, 2008 11:51 pm

#5 Post by appsuser » Wed Dec 10, 2008 6:36 am

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.

User avatar
Cornflower
Posts: 162
Joined: Fri Aug 31, 2007 7:58 am
Location: Canada's capital

NirCmd

#6 Post by Cornflower » Mon Jan 05, 2009 5:56 am

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

User avatar
guinness
Posts: 4118
Joined: Mon Aug 27, 2007 2:00 am
Contact:

Re: Nircmd v2.20

#7 Post by guinness » Tue Feb 16, 2010 8:53 am

V2.40 is available.
Added 179 Applications: Portable

NickR
Posts: 105
Joined: Thu Aug 26, 2010 6:37 am

Re: Nircmd v2.20

#8 Post by NickR » Wed Oct 06, 2010 10:24 am

V2.41 is available.

Ruby
Posts: 324
Joined: Sat Sep 05, 2009 6:35 pm

Re: Nircmd v2.20

#9 Post by Ruby » Wed Feb 23, 2011 10:43 am

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.

Ruby
Posts: 324
Joined: Sat Sep 05, 2009 6:35 pm

Re: Nircmd v2.20

#10 Post by Ruby » Fri Feb 25, 2011 4:08 pm

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.

Ruby
Posts: 324
Joined: Sat Sep 05, 2009 6:35 pm

Re: Nircmd v2.20

#11 Post by Ruby » Tue Mar 15, 2011 8:27 am

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.

User avatar
Checker
Posts: 1624
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: Nircmd v2.20

#12 Post by Checker » Sun Mar 27, 2011 10:31 am

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.

User avatar
Checker
Posts: 1624
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: Nircmd v2.20

#13 Post by Checker » Wed Jun 08, 2011 6:21 am

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.

User avatar
webfork
Posts: 8341
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Nircmd v2.20

#14 Post by webfork » Wed Jun 08, 2011 9:52 am

Does anyone know an easy way to integrate this with existing automation tools?

User avatar
joby_toss
Posts: 2902
Joined: Sat Feb 09, 2008 9:57 am
Location: Romania
Contact:

Re: Nircmd v2.20

#15 Post by joby_toss » Wed Jun 08, 2011 11:48 am

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

Post Reply