dcsimg
"cd .." in batch file executed from Runtime.exec not working
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   kameswaran_ramachandran
Posted On:   Wednesday, October 26, 2005 02:34 PM

Hi,
I want to change the directory from inside a batch file which is executed from my java program, using the Runtime.exec("xxx.bat"). For that i had in the batch file a statement like "cd ..", once this statement is encountered the batch file stops processing further.

The batch when executed standalone works perfectly?

Could anyone let me know what am i doing wrong?

Re: "cd .." in batch file executed from Runtime.exec not working

Posted By:   karthikeyan_krishnamoorty  
Posted On:   Friday, November 4, 2005 07:32 AM

hi...
could you send ur bat file to me also...?

My id is karthik_mca18@sify.com

Re: "cd .." in batch file executed from Runtime.exec not working

Posted By:   Simon_Ablett  
Posted On:   Monday, October 31, 2005 03:21 PM

Give an example of the contents of your batch file; if it is very large just post the salient part.

Regards.
About | Sitemap | Contact