Message-Id: <2.2.16.19970411151951.5c37f5b4@email.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Fri, 11 Apr 1997 11:19:51 -0400 To: combee AT cambridge DOT scr DOT slb DOT com (Leendert Combee) From: Jonathan Swaby Subject: Re: system() with command line options Cc: djgpp AT delorie DOT com At 04:16 PM 4/11/97 +0100, you wrote: >> >> 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. > > Can you run this in a dosbox (just that single line)? From the DOS Prompt it works fine. From the program it works if the command line options are left off. Thanks Jonathan > >> 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 >> >> > > >