From: Geoff Cox Newsgroups: comp.os.msdos.djgpp Subject: Re: hwo to run prog using "program files" etc ?? Message-ID: <2ir2tt48fffbe6fchgd693t0s8t40h3e60@4ax.com> References: <7se2ttccpk5u9g6223hmp6jvl9c17m15lo AT 4ax DOT com> <1659-Sat20Oct2001121534+0200-eliz AT is DOT elta DOT co DOT il> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 18 Date: Sat, 20 Oct 2001 12:36:49 GMT NNTP-Posting-Host: 213.48.250.168 X-Complaints-To: http://www.blueyonder.co.uk/abuse X-Trace: news1.cableinet.net 1003581409 213.48.250.168 (Sat, 20 Oct 2001 13:36:49 BST) NNTP-Posting-Date: Sat, 20 Oct 2001 13:36:49 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 12:15:34 +0200, "Eli Zaretskii" wrote: >surrounded by quotes. So you should use the following string in your >program: > > char *call = "\"c:\\program files\\javasoft\\jre\\1.1\\bin\\jre.exe\""; I've tried this - it compiles OK but when I run it nothing happens!? I've also tried char *call = "c:\\\"program files\"\\javasoft\\jre\\1.1\\bin\\jre"; but then get "unmatched quote character" when I run it... Geoff