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: help with a batch file in dos Working Now, Thanks  (Read 1620 times)

0 Members and 1 Guest are viewing this topic.

abispac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1625
  • Last login:July 24, 2025, 12:57:01 am
help with a batch file in dos Working Now, Thanks
« on: July 25, 2009, 01:52:44 pm »
Thanks for reading, im working an a new project i would like to use dos for faster boot time since is a dedicated game, i got everything setup , i just need help to set up a batch file that would call the game, so i dont have to use arcadeos or gamelauncher i want to boot staright of the game, heres what i got but it dosnt seem to work
autoexec
SMARTDRV.EXE /x
c:\sblive\liveinit.bat
c:\mame.bat
and bat file located at c:\
cd mame
mame.exe pacman
cd\
when i start the computer loads the drivers but ends up at c prompt it dosnt start the game, thanks for any help provided.
« Last Edit: July 25, 2009, 02:30:56 pm by abispac »

Beretta

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 798
  • Last login:December 20, 2021, 02:11:30 pm
Re: help with a batch file in dos
« Reply #1 on: July 25, 2009, 02:06:45 pm »
Thanks for reading, im working an a new project i would like to use dos for faster boot time since is a dedicated game, i got everything setup , i just need help to set up a batch file that would call the game, so i dont have to use arcadeos or gamelauncher i want to boot staright of the game, heres what i got but it dosnt seem to work
autoexec
SMARTDRV.EXE /x
c:\sblive\liveinit.bat
c:\mame.bat
and bat file located at c:\
cd mame
mame.exe pacman
cd\
when i start the computer loads the drivers but ends up at c prompt it dosnt start the game, thanks for any help provided.


ok so i would assume that

Quote
cd mame
mame.exe pacman
cd\

is mame.bat? sitting in root of the drive "C:\mame.bat"?

ok so according to this your dos will start, get to mame.bat, run "C:\mame.bat"

at that point it will try to change to the directory "C:\mame"

is this the name of your mame folder?

it will then run mame.. what exactly is the name of your mame? and what version?

is it exactly "C:\mame\mame.exe"?

im guessing you have a spelling error in the bat.. go back and double check your directory and file names.

what exactly does it say when it tries to run?

if it  says "bad file or command" or something similar to that then you have a spelling error for sure.

if it says something else then you problably have a misconfiguratoin in your mame.

to make sure mame is'nt the problem you should try to run it manually and see if it loads up pacman.
Anyone got change for a dollar?
PLEASE HELP NEED Fastmame .70 and .9* releases

abispac

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1625
  • Last login:July 24, 2025, 12:57:01 am
Re: help with a batch file in dos
« Reply #2 on: July 25, 2009, 02:09:57 pm »
i edited the batch file from some info i found here
@echo off
c:
cd mame
mame.exe pacman
 its seems to work in windows, ill give it a try in dos, thanks