Samji
04-23-2005, 02:26 PM
On a project I am currently working on I needed to use a batch file to launch Max Payne with the developer and screenshots options.
This is the code I have written for my batch file.
ECHO OFF
CD c:\
CD program files
CD max payne
maxpayne.exe -developer -developerkeys -skipstartup -screenshot
CLS
EXIT
This code works fine, but the prompt window will not disappear until the Max Payne dialog is closed or until the Max Payne engine is started and closed.
Is it possible to make the batch file's window close immediatly after the maxpayne.exe dialog has been displayed.
Thanks. http://forums.3drealms.com/ubbthreads/images/graemlins/smile.gif
This is the code I have written for my batch file.
ECHO OFF
CD c:\
CD program files
CD max payne
maxpayne.exe -developer -developerkeys -skipstartup -screenshot
CLS
EXIT
This code works fine, but the prompt window will not disappear until the Max Payne dialog is closed or until the Max Payne engine is started and closed.
Is it possible to make the batch file's window close immediatly after the maxpayne.exe dialog has been displayed.
Thanks. http://forums.3drealms.com/ubbthreads/images/graemlins/smile.gif