i have a dos batch file that calls a java program. i want to call a second batch file from the java program. when i execute the code, the second batch file is not called. however, if i run the java program independently, i.e., without running the batch file that calls the java program, the second batch file is called and executed perfectly. this just doesn't sound good to me. any solutions???