Windows 10: How do I switch the audio preferences per application via command line/batch file?

Discus and support How do I switch the audio preferences per application via command line/batch file? in Windows 10 Gaming to solve the problem; With my current desktop set up I have both headphones and speakers and currently am using a GoXLR's interface to switch between the both of them. I... Discussion in 'Windows 10 Gaming' started by Cole S., Feb 21, 2023.

  1. Cole S. Win User

    How do I switch the audio preferences per application via command line/batch file?


    With my current desktop set up I have both headphones and speakers and currently am using a GoXLR's interface to switch between the both of them. I would like to free up the line out port of my GoXLR by running the speakers through the on motherboard Audio Line Out port. The issue is that I would like a way to still easily switch between my headphones connected via the GoXLR and the speakers which would be connected to the motherboard. Currently, by having the speakers plugged into the GoXLR, I use a stream deck to switch the outputs, but if I move the speakers to connect directly to the mothe

    :)
     
    Cole S., Feb 21, 2023
    #1

  2. can a command line action as batch file

    Yes, you only have to put the command in a text file and save it with .bat extension instead of .txt
    A batch file is just a list of command lines that are run line by line.
     
    ricardobohner, Feb 21, 2023
    #2
  3. Naki Win User
    GPU-Z what command line parameter ?

    Suggestion: /? (-?) and /help (-help) command-line arguments to show a list of all possible arguments in a small window. *Smile How do I switch the audio preferences per application via command line/batch file? :)
     
  4. ryanly Win User

    How do I switch the audio preferences per application via command line/batch file?

    GPU-Z what command line parameter ?

    Current /? (-?) or / help (-help) parameter is invalid
     
    ryanly, Feb 21, 2023
    #4
Thema:

How do I switch the audio preferences per application via command line/batch file?

Loading...
  1. How do I switch the audio preferences per application via command line/batch file? - Similar Threads - switch audio preferences

  2. Batch File Command???

    in Windows 10 Gaming
    Batch File Command???: I want to run a batch file that starts a backup program, but does not execute the next command until that program completes? How do I do this? https://answers.microsoft.com/en-us/windows/forum/all/batch-file-command/3af2ce6b-ace3-43cb-b6fb-5cbff8998736
  3. How do I switch the audio preferences per application via command line/batch file?

    in Windows 10 Software and Apps
    How do I switch the audio preferences per application via command line/batch file?: With my current desktop set up I have both headphones and speakers and currently am using a GoXLR's interface to switch between the both of them. I would like to free up the line out port of my GoXLR by running the speakers through the on motherboard Audio Line Out port. The...
  4. Screen switching via batch/powershell file possible?

    in Windows 10 Gaming
    Screen switching via batch/powershell file possible?: Hi, I have three screens connected to my PC, 1 x TV and 2 x TFT's.I'd like to be able to automatically switch between different screens as being primary whilst disabling the others via double click on, perhaps, a batch file.Essentially I would like to be able to have three...
  5. Screen switching via batch/powershell file possible?

    in Windows 10 Software and Apps
    Screen switching via batch/powershell file possible?: Hi, I have three screens connected to my PC, 1 x TV and 2 x TFT's.I'd like to be able to automatically switch between different screens as being primary whilst disabling the others via double click on, perhaps, a batch file.Essentially I would like to be able to have three...
  6. can a command line action as batch file

    in Windows 10 Support
    can a command line action as batch file: I have a run a action on one of my programs to disable it (when required) quite regularly from an elevated cmd prompt... Can it be made into a bath file (.bat) and executed as and when required? 174187
  7. Batch command to include random line from file?

    in Windows 10 Support
    Batch command to include random line from file?: Hello, i was wondering if i can include random line from file into a Windows 10 batch script command. Command is: wmic computersystem where name="%COMPUTERNAME%" call rename name="Computer%RANDOM%" and instead of "Computer%RANDOM%" i would like to input random line from...
  8. How do you print via command line?

    in Windows 10 Drivers and Hardware
    How do you print via command line?: I can't figure out how to properly use the print command.Here's my printer information: [ATTACH] How should I modify the example from the Microsoft Docs page, "print /d:\\copyroom\printer1 c:\accounting\report.txt" to print a file? This doesn't work, "print...
  9. How do I change and refresh AccentColor via command line?

    in Windows 10 Customization
    How do I change and refresh AccentColor via command line?: Hello, In my Personalization Settings, I have "Show accent color on" for Start, Taskbar, Action Center, Title bars, and Window borders. I have a batch file that sets the Accent Color like this: Code: reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM" /v AccentColor...
  10. Run a scheduled task via command line via command line

    in Windows 10 Support
    Run a scheduled task via command line via command line: i want start a Run a scheduled task via command line like this: Code: %SystemRoot%\system32\taskschd.msc /Run /TN "RegIdleBackup" when i run the cmd in the prompt as admin the shedular task GUI pop up but the task not start. Is there a solution? Is the...