Change Default Sound Playback Device by a Command Line

johnbil

Distinguished
Apr 25, 2013
78
0
18,630
Is it possible in Windows 7 to change the default sound playback device via a command line? If so, what would the command be?

I would like to run the command via a batch file.

Any help would be appreciated.

Thanks,
John
 

johnbil

Distinguished
Apr 25, 2013
78
0
18,630
I probably didn't explain what I was looking to do well enough. I want to switch playback devices in general (ex. go from PC Speakers to an HDMI device) not play a specific audio file/sound.