Message-ID: <38D8EE96.19ED9CB6@home.com> From: Robin Johnson Organization: Orbit Computers X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en,af,es MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP & CGI, I found an easier way! References: <38D7C78E DOT 2708CFD1 AT pgmincorporated DOT com> <38D8529B DOT DDCCEFB AT home DOT com> <38D8D51F DOT BF79B499 AT americasm01 DOT nt DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 32 Date: Wed, 22 Mar 2000 16:06:45 GMT NNTP-Posting-Host: 24.113.36.103 X-Complaints-To: abuse AT home DOT net X-Trace: news1.rdc1.bc.home.com 953741205 24.113.36.103 (Wed, 22 Mar 2000 08:06:45 PST) NNTP-Posting-Date: Wed, 22 Mar 2000 08:06:45 PST To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thanks for pointing that out Rolf! A little more digging into my solution, shows that I only need use %1, because all the strings are still concatenated together. The fact that we are also using batch files now enables us to do multiple commands quickly, for eg look at the following: @echo off cat part1.html addnumber.exe %1 cat part2.html "Campbell, Rolf [SKY:1U32:EXCH]" wrote: > > Robin Johnson wrote: > > > make a batch file in your cgi-bin directory, > > with the 1st line as "@echo off" > > and the second line "(prog name).exe %1" > > Or just have 1 line "@(prog name).exe %1 %2 %3 ..." > > -- > (\/) Rolf Campbell (\/) -- Robin Hugh Johnson "Robbat2" QTOD: "I used to be an idealist, but I got mugged by reality." E-Mail : robbat2 AT t-p-l DOT com ICQ# : 30269588 or 41961639 Home Page : http://tesla.t-p-l.com Time Zone : Pacific Daylight (GMT - 8)