2
I like to play Fallout 3 which is very buggy normally, and even more so once I've added some mods. Needless to say, it crashes a lot. I can deal with the crashes, the only problem is when it does my sound card gets caught in an endless loop-style playback.
I can stop the looping audio by toggling the device on and off in Device Manager (Disable/Enable), although it's annoying to have to go into Device Manager all the time. So I'm hoping to semi-automate the process.
Is there a way to toggle a device on and off using a batch script? That way I could just place it on the desktop and run it when my sound card starts looping.
Windows doesn't provide a way to enable/disable devices from the command-line interface, but you can use the
– and31415 – 2014-07-26T10:35:24.983devcon
utility. See this related question: Automatically disable integrated webcam when an external one is connected?@and31415 - Thanks, this sounds like exactly what I need :). I'll give it a go and report back – Robotnik – 2014-07-26T10:45:17.907
you can also use WMIC commands – Ali786 – 2014-07-26T10:54:44.230