RETROBAT Official Board
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Bat File To Close Program when it sees another program closed *Resolved

Go down

Bat File To Close Program when it sees another program closed *Resolved  Empty Bat File To Close Program when it sees another program closed *Resolved

Post by crazyp 27/04/21, 06:00 pm

Made my own working script. Thanks =)

Confused yet?

Here is my issue.

@echo off
Start V:\Mapper\XOutput
C:\Notepad\notepad++.exe
taskkill /IM XOutput.exe

This exact line will open Xoutput and notepad and then close Xoutput if notepad gets closed  works 100%

However If I replace the
C:\notepad\notepad++.exe to say  c:\sfv\sfv.exe

SFV will open and xoutput will open but when I close SFV, xoutput will stay open

And if it stays open emulationstation will double press a button since it is registering 1 controller as 2.

Why I currently have to do this is because I have a generic controller for an arcade machine and when I launch SFV it does not recognize the controllers.

Any help or other ideas would be awesome Thanks
crazyp
crazyp

Messages : 3
Date d'inscription : 2021-04-24

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum