Retro Arcader Posted November 4, 2020 Share Posted November 4, 2020 Hey Guys, Just a quick question. Is it possible to run a windows batch file after exiting bigbox? The reason is that my PC is running 2 monitors. one of which is inside my arcade cab. I have a batch file that currently does the following... Switches audio output to Arcade Cabinet Switches HDMI out to Monitor in Arcade Cabinet Launches OBS minimized. I know bigbox can do this but I like to launch OBS before starting Bigbox. Launch BigBox ideally I want the script to then... Wait for BigBox to exit change audio back to main display monitor change HDMI back to extended desktop display. The very untidy version of the script is below... so basically I either need this script to wait for bigbox to exit OR at least run another script as it closes that performs 6 and 7. Any help greatly appreciated. @echo off echo changing outputs rem nircmd setdefaultsounddevice "3 - 2369M" 1 rem C:\Windows\System32\DisplaySwitch.exe /internal echo starting OBS cd "C:\Program Files\obs-studio\bin\64bit\" start /min obs64.exe d: cd "D:\My Games\Launchbox" start /WAIT bigbox.exe echo restoring system nircmd setdefaultsounddevice "4 - LG TV" 1 C:\Windows\System32\DisplaySwitch.exe /extend Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.