www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/21/14:19:09

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: <9c36tto3oprevta3t4ooa1r776ji76ji3g@4ax.com>
References: <7se2ttccpk5u9g6223hmp6jvl9c17m15lo AT 4ax DOT com>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Lines: 17
Date: Sun, 21 Oct 2001 18:06:45 GMT
NNTP-Posting-Host: 213.48.250.139
X-Complaints-To: http://www.blueyonder.co.uk/abuse
X-Trace: news1.cableinet.net 1003687605 213.48.250.139 (Sun, 21 Oct 2001 19:06:45 BST)
NNTP-Posting-Date: Sun, 21 Oct 2001 19:06:45 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

Hello,

finally got it working. Thanks for the help.

Cheers Geoff

#include <stdlib.h>

char *call = "\"c:\\program
files\\javasoft\\jre\\1.1\\bin\\jre.exe\"";

int main (void)
{
  return system (call);
}


- Raw text -


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