Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Having a little trouble with batch file  (Read 2232 times)

0 Members and 1 Guest are viewing this topic.

Thurman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 97
  • Last login:March 12, 2018, 09:15:33 pm
  • The suspense is terrible . . . I hope it'll last.
Having a little trouble with batch file
« 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

youki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1612
  • Last login:November 19, 2016, 01:07:33 pm
  • Atomic Front End Creator
    • Atomic Front End
Re: Having a little trouble with batch file
« Reply #1 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.


Thurman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 97
  • Last login:March 12, 2018, 09:15:33 pm
  • The suspense is terrible . . . I hope it'll last.
Re: Having a little trouble with batch file
« Reply #2 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.

rockmes

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 141
  • Last login:June 05, 2016, 09:41:38 am
  • Don't you love it?
Re: Having a little trouble with batch file
« Reply #3 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.

rockmes

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 141
  • Last login:June 05, 2016, 09:41:38 am
  • Don't you love it?
Re: Having a little trouble with batch file
« Reply #4 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.