NirCmd

Discuss anything related to portable freeware here.
Message
Author
User avatar
tproli
Posts: 1170
Joined: Sat Sep 09, 2006 10:14 am
Location: Hungary
Contact:

Re: Nircmd v2.20

#16 Post by tproli » Wed Jun 08, 2011 12:36 pm

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: 8332
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Nircmd v2.20

#17 Post by webfork » Wed Jun 08, 2011 3:27 pm

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: 2902
Joined: Sat Feb 09, 2008 9:57 am
Location: Romania
Contact:

Re: Nircmd v2.20

#18 Post by joby_toss » Thu Jun 09, 2011 4:43 am

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 » Wed Jun 29, 2011 9:31 am

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: 1624
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: Nircmd v2.20

#20 Post by Checker » Wed Sep 12, 2012 12:12 am

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: 122
Joined: Wed Aug 14, 2013 7:22 am

Re: Nircmd v2.20

#21 Post by Special » Wed Jul 16, 2014 3:22 pm

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: 4603
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Nircmd

#22 Post by Midas » Thu Jul 17, 2014 5:16 am

FYI, Nircmd related forum topics:

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

Re: Nircmd v2.20

#23 Post by billon » Sun Jan 31, 2016 6:14 pm

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: 683
Joined: Sat Jun 23, 2012 4:28 pm

Re: Nircmd v2.20

#24 Post by billon » Mon May 23, 2016 4:41 pm

2.81 is out

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

NirCmd speak text ~$clipboard$ slow down speech ?

#25 Post by vmars316 » Fri Feb 22, 2019 1:17 pm

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

Thanks
Win10 x64, PureBasic, Javascript, Notepad++ .
"All things in moderation, except for love and forgiveness."...vm

User avatar
Ding-A-Ling
Posts: 27
Joined: Sun Jul 23, 2017 2:33 am
Contact:

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

#26 Post by Ding-A-Ling » Fri Feb 22, 2019 5:01 pm

NirCmd Command Reference - speak
speak [type] [text/Filename] {rate} {volume} {.wav Output Filename} {Output Format}

The {rate} parameter is optional parameter that you can specify the Speech rate, a value between -10 (very slow) and 10 (very fast). The {volume} parameter is optional parameter that you can specify the volume of the Speech, a value between 0 and 100.

Examples:
speak text ~$clipboard$
speak text "Please visit the Web site of NirSoft at http://www.nirsoft.net" 2 80
speak file "c:\temp\speak1.txt"
speak file "c:\temp\speak1.txt" 0 100 "c:\temp\speak.wav" 48kHz16BitStereo
So, I think:
  • speak text ~$clipboard$ -10
    would be very slow;
  • speak text ~$clipboard$ 10
    would be very fast.
I think I used this nircmd command as an example in my BrightVolHKs and DateWriteHKs ini-files and "2" was a good middle value.

I think:
  • speak text ~$clipboard$ 2 80
    would be at a good speed and at 80% volume;
  • speak text ~$clipboard$ -5 90
    would be pretty slow and at 90% volume.
Ding-Press v1.57: simple 7Zip-based (v19.00) compression/decompression
DAL's Programs

Image I wanna play with my ding-a-ling! Image Image

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

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

#27 Post by vmars316 » Sat Feb 23, 2019 12:52 pm

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
Win10 x64, PureBasic, Javascript, Notepad++ .
"All things in moderation, except for love and forgiveness."...vm

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

Re: NirCmd

#28 Post by billon » Fri Mar 22, 2019 12:51 am

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

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

Re: NirCmd

#29 Post by billon » Fri Apr 19, 2019 5:13 am

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

Post Reply