Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Thurman on September 17, 2005, 10:36:58 am

Title: Having a little trouble with batch file
Post by: Thurman on September 17, 2005, 10:36:58 am
I've got a batch file that I want to do 2 things..... run JoyToKey and run HistoryViewer.  I'd like both of these apps to start at the same time and run simultaneously.  I'm having some problems with my syntax because it currently runs one app, waits for me to exit out of that app, and then runs the 2nd app.  Here's my current batch file.  Any help would be appreciated.  Thanks!


"c:\Program Files\JoyToKey\JoyToKey.exe" Viewer

e:\games\mame\mame\HistView\HistView.exe -r=%1

:END
Title: Re: Having a little trouble with batch file
Post by: youki on September 17, 2005, 02:04:20 pm
Just an idea like that.

Try to do 2 .BAT files, one for JoyToKey and one for HistView

And a 3rd one which call both.  And call the Third one.

May be using the CALL statement.

Title: Re: Having a little trouble with batch file
Post by: Thurman on September 23, 2005, 10:56:00 pm

May be using the CALL statement.


You were close, but it ended up being the START statement.  Thanks for the help though.
Title: Re: Having a little trouble with batch file
Post by: rockmes on November 05, 2005, 07:15:28 pm
Where did you have to put the START command in your batch file,cos l am having a similar issue where l would like both programs to start using one batch file.
Title: Re: Having a little trouble with batch file
Post by: rockmes on November 06, 2005, 06:56:25 am
l worked it out for anyone that wants to know.

l created 3 bat files
1 for ppjoykey
1 for virtua tennis
1 to start both

the last bat file looks like this:


@ECHO OFF
start ppjoykey.bat
start virtua tennis.bat
EXIT

l found no info on how to incorporate both in one bat file but this works so l am happy.