From: Charles Sandmann 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: Mon, 27 Jan 2003 22:26:43 CST Organization: Rice University, Houston TX Lines: 11 Message-ID: <3e360683.sandmann@clio.rice.edu> References: NNTP-Posting-Host: clio.rice.edu X-Trace: joe.rice.edu 1043728004 25195 128.42.105.3 (28 Jan 2003 04:26:44 GMT) X-Complaints-To: abuse AT rice DOT edu NNTP-Posting-Date: 28 Jan 2003 04:26:44 GMT X-NewsEditor: ED-1.5.9 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > 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.