Article View: borland.public.jbuilder.java.language
Article #19752Re: To create a new process and run a batch file
From: Simon Dubey
Date: Fri, 26 Dec 1997 00:00
Date: Fri, 26 Dec 1997 00:00
14 lines
861 bytes
861 bytes
Rekha Venkatesh wrote:
> Hi
> I want to create a new process and run a batch file. I tried the following
> code:
>
> Runtime.getRuntime().exec("C:\\jbuilder\\notes.bat");
>
I think you have to do something like
Runtime.getRuntime().exec("command /c C:\\jbuilder\\notes.bat");
Technical Details
Message-ID:
<34A308DC.98B005B6@oecj.co.jp>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bd0fc5$a6c31a60$18d812c7@rvenkatesh>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,cc7c65a8187c93c2 X-Google-Attributes: gidf74b3,public From: Simon Dubey <simon@oecj.co.jp> Subject: Re: To create a new process and run a batch file Date: 1997/12/26 Message-ID: <34A308DC.98B005B6@oecj.co.jp> X-Deja-AN: 310196018 Content-Transfer-Encoding: 7bit References: <01bd0fc5$a6c31a60$18d812c7@rvenkatesh> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Organization: Open Environment Corporation Of Japan Newsgroups: borland.public.jbuilder.java.language