www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/11/10:37:12

Message-Id: <2.2.16.19970411142417.3e5f5d50@email.psu.edu>
Mime-Version: 1.0
Date: Fri, 11 Apr 1997 10:24:17 -0400
To: djgpp AT delorie DOT com
From: Jonathan Swaby <jfs10 AT psu DOT edu>
Subject: system() with command line options

I have a program that will need to run another program with some
options. The program line looks like success=system(test.exe -d c:\junk\); .
Where test is a self extracting archive. I am using rsxntdj djgpp v2 on
a win95 machine. When this line is executed I get bad command or file name.
Running
test.exe on its own works perfectly. Does anyone know what I am doing wrong?
I have looked thru the FAQ. My command line is under 126 characters, so I don't
think this is the problem. Any help would be great.
 
Thanks JOnathan Swaby

- Raw text -


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