I have a bat file to get executed from java and save the output result in java variable. The script run fine when run from cmd and gets executed from java as well and i do g