Message-Id: <2.2.16.19970411142417.3e5f5d50@email.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 11 Apr 1997 10:24:17 -0400 To: djgpp AT delorie DOT com From: Jonathan Swaby 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