From: "Robert L." Newsgroups: comp.os.msdos.djgpp References: <38D7C78E DOT 2708CFD1 AT pgmincorporated DOT com> <38D8529B DOT DDCCEFB AT home DOT com> <38D8D51F DOT BF79B499 AT americasm01 DOT nt DOT com> <38D8EE96 DOT 19ED9CB6 AT home DOT com> Subject: Re: DJGPP & CGI, I found an easier way! Lines: 43 X-Newsreader: Microsoft Outlook Express 4.72.3155.0 X-MIMEOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Message-ID: Date: Sat, 25 Mar 2000 05:04:34 GMT NNTP-Posting-Host: 216.209.203.60 X-Trace: news20.bellglobal.com 953960674 216.209.203.60 (Sat, 25 Mar 2000 00:04:34 EST) NNTP-Posting-Date: Sat, 25 Mar 2000 00:04:34 EST Organization: Sympatico To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Excuse me, but i don't have cat command in dos ( v. 7 ). I know there's one in unix. If it exist, where can i find it, else what the "spec" of this command. ( win98 ) Thanks. Robin Johnson a écrit dans le message <38D8EE96 DOT 19ED9CB6 AT home 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)