NirCmd Command Reference - speak

speak [type] [text/Filename] {rate} {volume}
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.
In the [type] parameter, you can specify one of the following values:
  • text: The second parameter contains a simple text.
  • xml: The second parameter contains a text with Speech xml data.
  • file: The second parameter contains a text filename.

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"

Other commands:
abortshutdownbeepcdromchangeappvolumechangebrightness
changesysvolumechangesysvolume2clipboardclonefiletimecloseprocess
cmdshortcutcmdshortcutkeycmdwaitconsolewriteconvertimage
convertimagesdebugwritedlgdlganyelevate
elevatecmdemptybinexecexec2execmd
exitwinfilldeletegachibernateinetdial
infoboxinidelsecinidelvalinisetvalinitshutdown
killprocesslockwsloopmediaplaymemdump
monitormovecursormultiremotemuteappvolumemutesysvolume
paramsfileqboxqboxcomqboxcomtopqboxtop
rasdialrasdialdlgrashangupregdelkeyregdelval
regeditregsetvalregsvrremotereturnval
runassavescreenshotsavescreenshotfullsavescreenshotwinscreensaver
scriptsendkeysendkeypresssendmouseservice
setappvolumesetbrightnesssetconsolecolorsetconsolemodesetcursor
setcursorwinsetdialuplogonsetdisplaysetfilefoldertimesetfiletime
setprimarydisplaysetprocessaffinitysetprocessprioritysetsysvolumesetsysvolume2
setvolumeshellcopyshellrefreshshexecshortcut
showsounddevicesspeakstandbystdbeepsysrefresh
trayballoonurlshortcutwaitwaitprocesswin

NirCmd Web Page

Download NirCmd

NirSoft Web Site