EmuNewz Network
Running JPCSP bat file from another application - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: General discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=57)
+---- Thread: Running JPCSP bat file from another application (/showthread.php?tid=99397)



Running JPCSP bat file from another application - haddockd - 11-22-2012

Hi All,

I have created a custom front end for all my emulators and JPCSP is giving me a little bit of trouble. I have one "install" of jpcsp for each game I have because settings are different. I can double click on the bat file for any given install and it works fine, but if I run that bat file from my custom front end...it says
Error: Unable to access jarfile bin/jpcsp.jar

If I run the bat file from another bat file in a different location it works fine, so it does not appear to be a pathing issue and I know the command is right because I am simply calling the bat file in the JPCSX main directory.

Any advice?

I have attached a pic of the front end if anyone cares Smile

You click on the system at the top and the lower portion displays all the available games for that system. Click the game to launch it.

Thanks in advance


RE: Running JPCSP bat file from another application - montcer9012 - 11-22-2012

You must add to the very beginning:
Code:
@ECHO OFF
CD /D %~DP0



RE: Running JPCSP bat file from another application - haddockd - 11-23-2012

(11-22-2012, 04:14 AM)montcer9012 Wrote: You must add to the very beginning:
Code:
@ECHO OFF
CD /D %~DP0
You...
are...
awesome!!!

Thank you!!!



RE: Running JPCSP bat file from another application - Network - 05-17-2013

(11-23-2012, 02:43 AM)haddockd Wrote:
(11-22-2012, 04:14 AM)montcer9012 Wrote: You must add to the very beginning:
Code:
@ECHO OFF
CD /D %~DP0
You...
are...
awesome!!!

Thank you!!!
Um how do you put the code?