NirCmd

Submit command line tools that you find here.
Message
Author
User avatar
tproli
Posts: 1172
Joined: Sat Sep 09, 2006 10:14 am
Location: Hungary
Contact:

Re: Nircmd v2.20

#16 Post by tproli »

Or you can use Total Commander's button bar for example:

Code: Select all

Go to path on clipboard (in Total Commander):
"%commander_path%\..\nircmd\nircmd.exe" exec show "%commander_path%\TOTALCMD.EXE" /O /T /S /L="~$clipboard$"
As you can see, all paths are relative.

@joby

You can use relative paths in PowerPro too:

Code: Select all

pprofolder++?"..\..\Total Commander\TOTALCMD.exe"

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

Re: Nircmd v2.20

#17 Post by webfork »

joby_toss wrote:Like making .bat files (in same folder as nircmd.exe) and executing them using any hotkeys app (admin rights needed)? Or Executor keywords (put nircmd.exe in same folder as executor.exe and use the exact commands from nircmd.chm)?
Yeah. I think any note about this program should come with a few quick ways to use it like what you and tproli added. Thanks to both of you.

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

Re: Nircmd v2.20

#18 Post by joby_toss »

tproli wrote:@joby
You can use relative paths in PowerPro too:

Code: Select all

pprofolder++?"..\..\Total Commander\TOTALCMD.exe"
I never knew this!
Thank you very much!

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

Re: Nircmd v2.20

#19 Post by Ruby »

NirCmd v2.65 ~ 06/28/2010

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)

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

Re: Nircmd v2.20

#20 Post by Checker »

NirCmd is now V2.70 :!:

Changelog:

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

Special
Posts: 219
Joined: Wed Aug 14, 2013 7:22 am

Re: Nircmd v2.20

#21 Post by Special »

v2.75
Changelog:
-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).

v2.71
Changelog:
-Added runassystem command, which allows you to run a process with SYSTEM user (Works on Windows 7/8/Vista/2008)

Okay so this is quite a necro happening but I just found this lovely program today because I was looking for a way to set a keyboard hotkey to power off my two monitors, similarly how laptops do it. It's probably my ignorance but this seems portable to me? I just threw the program in it's own folder, created a shortcut for it with 'cmdwait 1000 monitor off' that in the target and voila I have my hotkey. http://i.imgur.com/PIhn9AC.png

User avatar
Midas
Posts: 6705
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Nircmd

#22 Post by Midas »

FYI, Nircmd related forum topics:

billon
Posts: 843
Joined: Sat Jun 23, 2012 4:28 pm

Re: Nircmd v2.20

#23 Post by billon »

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

billon
Posts: 843
Joined: Sat Jun 23, 2012 4:28 pm

Re: Nircmd v2.20

#24 Post by billon »

2.81 is out

vmars316
Posts: 261
Joined: Thu Feb 09, 2012 11:47 am
Location: Colorado
Contact:

NirCmd speak text ~$clipboard$ slow down speech ?

#25 Post by vmars316 »

Hello & Thanks ,
For NirCmd :
speak text ~$clipboard$ , is there a cmd to control
speak speed ? I would like to slow down speech .

Thanks

vmars316
Posts: 261
Joined: Thu Feb 09, 2012 11:47 am
Location: Colorado
Contact:

Re: NirCmd speak text ~$clipboard$ slow down speech ?

#26 Post by vmars316 »

Ah Wonderful Thanks !
Yes , I found some more examples here
http://nircmd.nirsoft.net/speak.html
This works perfectly for me:
"C:\pimClip\nircmd.exe" speak text ~$clipboard$ -5

Thanks

billon
Posts: 843
Joined: Sat Jun 23, 2012 4:28 pm

Re: NirCmd

#27 Post by billon »

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

billon
Posts: 843
Joined: Sat Jun 23, 2012 4:28 pm

Re: NirCmd

#28 Post by billon »

2.83
  • 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:\temp\screenshot1.png"
  • Be aware that runinteractive and runinteractivecmd commands only work from a Windows service ('SYSTEM' user).

billon
Posts: 843
Joined: Sat Jun 23, 2012 4:28 pm

Re: NirCmd

#29 Post by billon »


billon
Posts: 843
Joined: Sat Jun 23, 2012 4:28 pm

Re: NirCmd

#30 Post by billon »


Post Reply