From: "Peter S Tillier" Newsgroups: comp.os.msdos.djgpp Subject: Re: gawk 3.1.1 DJGPP v2.04 on Windows 2000 Pro problem using system() function and LFNs Date: Tue, 28 Jan 2003 07:35:58 -0000 Organization: Private Lines: 24 Message-ID: References: <3e360683 DOT sandmann AT clio DOT rice DOT edu> NNTP-Posting-Host: eq1152.demon.co.uk X-Trace: news.demon.co.uk 1043739359 17010 158.152.22.92 (28 Jan 2003 07:35:59 GMT) X-Complaints-To: abuse AT demon DOT net NNTP-Posting-Date: Tue, 28 Jan 2003 07:35:59 +0000 (UTC) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Charles Sandmann" wrote in message news:3e360683 DOT sandmann AT clio DOT rice DOT edu... > > My suspicion was that the system() command in gawk was > > invoking command.com rather than cmd.exe, although I > > assume that the value of COMSPEC would be checked by > > the gawk code. > > Try: > SET SHELL=%comspec% > > before running. Don't have time to try it, but I'm curious if it > makes a difference. > Hi Chris, Thanks for the suggestion. I'll try it and post the results. Peter -- Peter S Tillier "Who needs perl when you can write dc and sokoban in sed?"