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
monitormovecursormoverecyclebinmultiremotemuteappvolume
mutesubunitvolumemutesysvolumeparamsfileqboxqboxcom
qboxcomtopqboxtoprasdialrasdialdlgrashangup
regdelkeyregdelvalregeditregsetvalregsvr
remoterestartexplorerreturnvalrunasrunassystem
runinteractiveruninteractivecmdsavescreenshotsavescreenshotfullsavescreenshotwin
screensaverscreensavertimeoutscriptsendkeysendkeypress
sendmouseservicesetappvolumesetbrightnesssetconsolecolor
setconsolemodesetcursorsetcursorwinsetdefaultsounddevicesetdialuplogon
setdisplaysetfilefoldertimesetfiletimesetprimarydisplaysetprocessaffinity
setprocessprioritysetsubunitvolumedbsetsysvolumesetsysvolume2setvolume
shellcopyshellrefreshshexecshortcutshowsounddevices
speakstandbystdbeepsuspendprocesssuspendprocess
sysrefreshtrayballoonurlshortcutwaitwaitprocess
win

NirCmd Web Page

Download NirCmd

NirSoft Web Site