I am trying to launch a batch file that is inside another folder from a batch file that is on my desktop.
Pretty hard to explain but what I am trying to do is get 3 .bat files, all from different folders to start-up in multiple bat files and not one, I tried to use start in the bat file but it didn't work as it ran the code from another batch at the desktop. but I really just need all of the three batch files to launch from the destination, as if I launched them manually.
this is what it tells me when I use start in a batch file to the destination:
C:\Users\Serv2\Desktop>java -Xmx1024M -Xms1024M -jar server.jar nogui
Error: Unable to access jarfile server.jar
and this is in my batch file:
call start C:\Users\Serv2\Documents\Server\run.bat
i dont know if this is what you are looking for but i found this on super user
call "your folder"\"name of your .bat file"
orginal source: https://superuser.com/questions/1412747/how-to-run-a-bat-from-batch-in-another-folder