..:: PCSX2 Forums ::..

Full Version: PCSX2 bat file crash
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there people! I'm trying to make a bat file that starts up pcsx2 with a chosen iso but when I execute the bat file pcsx2 crashes with the message that it stopped working. Can someone give me some help?

The bat file is like this:
Code:
@echo off

start D:\PS2\JoyToKey\JoyToKey.exe

start /wait D:\PS2\pcsx2.exe "D:\PS2\Roms\MGS3.ISO"

taskkill /f /im JoyToKey.exe

exit

Thanks everyone!
If memory serves I also had an issue with the start /wait when I first started my frontend. Once I removed it, I had no issues, although my bat file is much simpler than yours. Try navigating to the pcsx2 directory first and then run the command without the start \wait. Something like this:

Code:
cd\
c:
cd location of pcsx2 executable
pcsx2.exe "location of iso.iso"
It worked, thanks a lot!
Code:
@echo off

start D:\PS2\JoyToKey\JoyToKey.exe

cd\
D:
cd D:\PS2
pcsx2.exe "D:\PS2\Roms\MGS3.iso"

taskkill /f /im JoyToKey.exe

exit
No prob!

*looks at rep button* Smile
Well deserved!