Author Topic: How to run bat and/or VBS files from AM?  (Read 2358 times)

Tapper

  • Jr. Member
  • **
  • Posts: 24
    • View Profile
How to run bat and/or VBS files from AM?
« on: February 28, 2018, 02:15:47 PM »
I want to launch a bat or vbs files from attractmode using the rom name as the file name, but so far can't get it to work.

Basically, it's for Demul, and I want to use a batch file to change the demul.ini to set a different Naomi BIOS depending on the game. Demul itself doesn't have commands to do that, so you have to use a batch file.

So for example, let's say I want to run Cannon Spike using the USA BIOS. I already have a batch file working that switches the ini to the USA BIOS and then runs the game. It works great. The bat file is named "cspike.bat" after the rom name.

So, how can I get AM to run the bat file using the rom name? I tried all sorts of things and nothing happens.  :o

Thanks for any help.

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: How to run bat and/or VBS files from AM?
« Reply #1 on: February 28, 2018, 10:51:00 PM »
@Tapper
See here
windows_games or OpenBOR
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM