From: tdu AT enter DOT net (Tim Updegrove) Newsgroups: comp.os.msdos.djgpp Subject: Re: REDIR - Bad command or file name Date: Sat, 03 Apr 1999 16:58:10 GMT Message-ID: <37064729.8201713@news.enter.net> References: <370519a3 DOT 4299122 AT news DOT enter DOT net> <7e373s$j9t$1 AT news DOT luth DOT se> X-Newsreader: Forte Free Agent 1.11/32.235 NNTP-Posting-Host: 207.16.152.75 X-Original-NNTP-Posting-Host: 207.16.152.75 X-Trace: 3 Apr 1999 12:01:00 -0500, 207.16.152.75 Organization: Enter.Net Lines: 39 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Yes, I read readme.1st. go32-v reported DPMI memory=19580 kb and DPMI swap space=9956kb. Right clicking on the title of the DOS box and selecting properties/memory shows all the settings (Convential, ems, xms, and dpmi) are set to "auto". I'm able to compile (gcc) and run a "hello world" program so some/many things are working. Just entering REDIR by itself does return the redir help screen. Any other suggestions why the below REDIR command gets "bad command or file name"? On 2 Apr 1999 19:51:24 GMT, ams AT ludd DOT luth DOT se (Martin Str|mberg) wrote: >Tim Updegrove (tdu AT enter DOT net) wrote: >: A simple REDIR command like "redir -o gcc.log gcc -v -o hello.exe >: hello.c" puts "bad command or file name" in gcc.log. A user on >: 2/24/99 had this same problem in the mail archives (see Re: Beginners >: help/problem) and his root cause was no swap memory in DOS window. >: This very well may be my problem because I'm running in a DOS window >: in Win95. How do I check this? Any other tips? Thank-you for your >: help. > >You did unzip gcc*b.zip, didn't you? > >You did follow the directions in README.1ST? > >As for checking the memory, you right-click on the >Program/Shortcut/Whatever and select Memory and make sure that there >are a lot of DPMI memory specified. You need to restart the DOZE box >after changing this. > > >Pettersson, Symphony No. 5, > > MartinS Tim Updegrove tdu AT enter DOT net (remove the "nospam." in the reply address)