From: Geoff Cox Newsgroups: comp.os.msdos.djgpp Subject: Re: hwo to run prog using "program files" etc ?? Message-ID: References: <7se2ttccpk5u9g6223hmp6jvl9c17m15lo AT 4ax DOT com> <3BD19554 DOT A8804CEA AT yahoo DOT com> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 19 Date: Sat, 20 Oct 2001 18:27:29 GMT NNTP-Posting-Host: 213.48.145.111 X-Complaints-To: http://www.blueyonder.co.uk/abuse X-Trace: news1.cableinet.net 1003602449 213.48.145.111 (Sat, 20 Oct 2001 19:27:29 BST) NNTP-Posting-Date: Sat, 20 Oct 2001 19:27:29 BST Organization: blueyonder (post doesn't reflect views of blueyonder) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sat, 20 Oct 2001 15:38:42 GMT, CBFalconer wrote: >You have to quote it, because it contains blanks: > >char *call = "\"c:\\program >files\\javasoft\\jre\\1.1\\bin\\jre.exe\""; Have tried that too! It compiles and then runs but nothing happens!? Geoff >That error is coming from the command processor, which is trying >to execute: > > c:\program files\javasoft\jre\1.1\bin\jre.exe > >and it finds no "program" on the path.