1.    02 Dec 2015 #1
    Join Date : Jul 2015
    Ontario, Canada
    Posts : 23
    MS Windows 10 Home 64-bit

    Change Audio Playback Device & Change Active Window in cmd

    Basically what the title says. I need to be able to:
    1. Change the audio playback device to a specific device.
    2. Change the active window.

    Both need to be able to be done in cmd. How would I be able to do that?
      My ComputerSystem Spec
  2.    02 Dec 2015 #2
    Join Date : Oct 2015
    Posts : 5
    win 8.1
      My ComputerSystem Spec
  3.    02 Dec 2015 #3
    Join Date : Jul 2015
    Ontario, Canada
    Posts : 23
    MS Windows 10 Home 64-bit
    Thread Starter

    Doesn't seem to be working. Doing anything wrong?
    I'm typing this in cmd:
    "C:\Program Files\nircmd-x64\nircmdc" setdefaultsounddevice "SONY TV *00-C" 1
    "C:\Program Files\nircmd-x64\nircmdc" setdefaultsounddevice "SONY TV *00-C" 2

    And it doesn't change anything.

    EDIT: Nevermind The device was actually: ""SONY TV *00-C". 2 spaces between TV and *. Anyway thanks for helping with that. Now I just need a way to be able to change the active window in cmd.
      My ComputerSystem Spec
  4.    03 Dec 2015 #4
    Join Date : Apr 2014
    Space coast of Florida
    Posts : 5,372
    Windows 10 Pro X64 16299.19

    Sounds like something Powershell can probably do. There are several really good Powershell programmers on this site, hopefully they will see this and respond.

    The Set-WindowFocus cmdlet for Windows PowerShell

      My ComputersSystem Spec


Similar Threads
Thread Forum
Solved Is it possible to change window border thickness?
I am not liking the very thin black window borders, when I open a lot of windows it can be hard to tell where one ends and another begins. Is there any way that you can increase the thickness of the window outline?
Audio devices in Device Manager, but not in Playback Devices
Hello everyone, Laptop Samsung NP300V5A. Sound stops working about a month after Win 10 upgrade. No changes done at the time. Audio devices show up under Device Manager, but not under Playback/Recording Devices. Same for Realtek Sound Manager...
Drivers and Hardware
Line-in doesn't playback in selected Playback device
Here are my "relevant" system specs: CPU: 5960X Motherboard: ASUS Rampage V Extreme This seemed to have worked fine under Windows 7, but it stopped working awhile ago, I "think" about the time I upgraded to Windows 10. My Line-in will not...
Drivers and Hardware
Change Window Buttons?
Hello, I was wondering if there was a way to change the look of the window buttons to something like Windows 8. Here's what that looks like: http://i.imgur.com/DLAdn1U.png Thanks for reading.
Windows Phone Change Device Name in Windows 10 Mobile Phone
How to Change the Device Name in Windows 10 Mobile Phones Devices on a network need unique names so they can identify and communicate with each other. If two devices have the same name on the same network, it creates a conflict for network...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 18:09.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App

Windows 10 Forums