| Main > Main Forum |
| [SOLVED] Need some guidance with a batch file. Help a dummy? |
| (1/2) > >> |
| Louis Tully:
. |
| lilshawn:
--- Quote ---when I exit Mame after using the batch to launch it, there's an open cmd prompt window. --- End quote --- if you append an "exit" command after you run the game... IE: --- Code: ---@echo off cls cd C:\MameUIv.138 MameUI32.exe roms\astdelux2.zip -skip_gameinfo -full_screen_brightness 1.0 -contrast 2.0 -beam 1.2 -d3dversion 9 -filter -use_bezels -throttle -waitvsync -effect ApertureHRES_j4 exit --- End code --- the batch file should resume once the program ends... that means the exit command will run (since it's the next command) and kill the window. |
| rockyrocket:
This intrigued me so I just had a quick play. Path`s` are going to be different but for asteroids delux from AAE this Bat works for me... --- Code: ---@echo off D: CD "D:\emulators\64bit\AAE" aae astdelux --- End code --- And to start the asteroids.bat and another Batllezone plus bat via AHK hotkeys - this works.... --- Code: ---a:: Send {Esc Down}, Send {Esc Up} ;quits aae Sleep, 1000 Run, C:\Users\Mame seven\Desktop\AsteroidsDelux.bat return b:: Send {Esc Down}, Send {Esc Up} ;quits aae Sleep, 1000 Run, C:\Users\Mame seven\Desktop\BattleZonePlus.bat return --- End code --- Not the most elegant way but it works. This page has some good info for running bats without cmd windows popping up but it may be best just to call the games directly via AHK?. Anyway hope that helps a bit?. |
| Louis Tully:
. |
| jdbailey1206:
Now youre not a .bat dummy anymore. They are neat little files once you get the hang of them. :) |
| Navigation |
| Message Index |
| Next page |