Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: Tapper on February 28, 2018, 02:15:47 PM

Title: How to run bat and/or VBS files from AM?
Post by: Tapper 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.
Title: Re: How to run bat and/or VBS files from AM?
Post by: hermine.potter on February 28, 2018, 10:51:00 PM
@Tapper
See here (http://forum.attractmode.org/index.php?topic=503.msg4231#msg4231)
windows_games or OpenBOR