Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- REM Needed to work:
- REM Get nircmdc.exe here: http://www.nirsoft.net/utils/nircmd.zip
- REM Unzip it and put the file in the '.\utils' folder (level below the script files).
- REM ###############################################################################################
- REM ####### Script file start: headset.cmd
- REM --------- Switch sound output to headset -------------------------------------
- REM Name of headset output device in Windows 'Playback devices' must be 'Headset'
- REM ------------------------------------------------------------------------------
- @ECHO OFF
- REM SET HEADSET AS DEFAULT MULTIMEDIA DEVICE
- .\utils\nircmdc setdefaultsounddevice "Headset" 1
- REM SET HEADSET AS DEFAULT COMMUNICATIONS DEVICE
- .\utils\nircmdc setdefaultsounddevice "Headset" 2
- REM ####### Script file end: headset.cmd
- REM ###############################################################################################
- REM ####### Script file start: speakers.cmd
- REM --Switch sound output to speakers but keep headset default for comm ----------
- REM Name of speaker output device in Windows 'Playback devices' must be 'Speakers'
- REM ------------------------------------------------------------------------------
- @ECHO OFF
- REM SET SPEAKERS AS DEFAULT MULTIMEDIA DEVICE
- .\utils\nircmdc setdefaultsounddevice "Speakers" 1
- REM SET HEADSET AS DEFAULT COMMUNICATIONS DEVICE
- .\utils\nircmdc setdefaultsounddevice "Headset" 2
- REM ####### Script file end: speakers.cmd
- REM ###############################################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement