I don't know anything about batch files and I am making one for something. I want to write a batch file which will keep running in background which itself will deal with making sure if 'java.exe' is running and if it's not then it will trigger other batch file (say 'abc.bat')
This 'abc.batch' sets some parameters and launches 'java.exe' which executes those parameters. I want this 'java.exe' to keep running and if anyone closes it, it should restart immediately by executing 'abc.bat'. Moreover, I don't want to make changes in 'abc.bat'.
If it's confusing, I would like to apologize for my writing skills and I would like you to ask for clarification.