Kahlenda1990 Posted June 13 Share Posted June 13 so ive written some batch files to disable and enable the internet connection when i start up/exit assassins creed (damn you ubisoft) and it works fine through launchbox but doesnt load the batch file when running from bigbox. anyone know why? Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted June 13 Share Posted June 13 55 minutes ago, Kahlenda1990 said: so ive written some batch files to disable and enable the internet connection when i start up/exit assassins creed (damn you ubisoft) and it works fine through launchbox but doesnt load the batch file when running from bigbox. anyone know why? Since the batch file(s) needs to be ran as Admin to disable/enable "Ethernet", the easiest way is to create a shortcut to that batch file(s) and set the shortcut(s) to Run as Admin. (You could do some other tomfoolery in the batch file to run some PowerShell thing, but that's kind of ugly.) If [for some reason] you have LaunchBox or BigBox running as Admin, DON'T DO THAT. It creates more problems than does good. Once you have the shortcut(s) all set up, point to that/those in your Additional Apps. Bonus tip: When you set the properties of the shortcut to run as admin, also set Run to Minimized to hide the Command Prompt Window. This one will disable or enable the connection based on the current 'Connected' status. Tested (Windows 10) from both LaunchBox and BigBox. netsh interface show interface "Ethernet" |find "Connected" >nul && ( echo connected - disconnecting... netsh interface set interface "Ethernet" disabled ) || ( echo disconnected - connecting netsh interface set interface "Ethernet" enabled ) Since this will toggle both ways, you can add just one Additional App and check both Run Before... and Run After.... Caveat: if for some reason you connection is already disabled before launching the game, this WILL enable it. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.