delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/20/08:50:57

From: Geoff Cox <geoff DOT cox AT cableinet DOT co DOT uk>
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
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"
<eliz AT is DOT elta DOT co DOT il> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019