NirCmd Command Reference - setdefaultsounddevice

setdefaultsounddevice [Device Name] {Role}
Set the default sound device on Windows 7/Vista/2008. The [Device Name] is the name of the device, as appeared in the sound devices list of windows, for example: Speakers, Line In, Microphone, and so on...
The {Role} parameter is optional and may countain one of the following values: 0 for Console (the default value), 1 for Multimedia, and 2 for Communications.
Examples:
setdefaultsounddevice "Line In"
setdefaultsounddevice "Microphone" 2

Other commands:
abortshutdownbeepcdromchangeappvolumechangebrightness
changesysvolumechangesysvolume2clipboardclonefiletimecloseprocess
cmdshortcutcmdshortcutkeycmdwaitconsolewriteconvertimage
convertimagesdebugwritedlgdlganyelevate
elevatecmdemptybinexecexec2execmd
exitwinfilldeletegachibernateinetdial
infoboxinidelsecinidelvalinisetvalinitshutdown
killprocesslockwsloopmediaplaymemdump
monitormovecursormultiremotemuteappvolumemutesubunitvolume
mutesysvolumeparamsfileqboxqboxcomqboxcomtop
qboxtoprasdialrasdialdlgrashangupregdelkey
regdelvalregeditregsetvalregsvrremote
restartexplorerreturnvalrunassavescreenshotsavescreenshotfull
savescreenshotwinscreensaverscreensavertimeoutscriptsendkey
sendkeypresssendmouseservicesetappvolumesetbrightness
setconsolecolorsetconsolemodesetcursorsetcursorwinsetdefaultsounddevice
setdialuplogonsetdisplaysetfilefoldertimesetfiletimesetprimarydisplay
setprocessaffinitysetprocessprioritysetsubunitvolumedbsetsysvolumesetsysvolume2
setvolumeshellcopyshellrefreshshexecshortcut
showsounddevicesspeakstandbystdbeepsysrefresh
trayballoonurlshortcutwaitwaitprocesswin

NirCmd Web Page

Download NirCmd

NirSoft Web Site