Message-ID: <008601c2b6f3$8f852110$0100a8c0@acp42g> From: "Andrew Cottrell" To: References: <10301071613 DOT AA21393 AT clio DOT rice DOT edu> Subject: Re: Quirk with command.com shell on XP Date: Wed, 8 Jan 2003 18:41:52 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Reply-To: djgpp-workers AT delorie DOT com > Eli wrote:: > > 2) Try to execute the makeall.bat using the following command:- > > > redir -o mkall_out.txt -eo makeall.bat > > > > Try "redir -o mkall_out.txt -eo command.com /e:2000 /c makeall.bat" > > instead. This worked fine. > Charles wrote:: > What happens with: > makeall 2>&1 >mkall_out.txt > > (which is the standard NT/Win2K/WinXP way to do this). This works fine. Okay now what.... Where is the appropriate place to document this? How about the following mod to teh FAQ for command.com in 2000 and XP? This method hopefully is more idiot proof than some of the other methods that I tried. What do people think about this? *** djgppfaq.txt Wed Jan 8 18:39:40 2003 --- djgppfaq_old.txt Wed Jan 8 18:39:40 2003 *************** *** 396,408 **** SHELL = C:\DOS\COMMAND.COM C:\DOS /E:2048 - on Windows 2000 and XP if you are using the command.com shell then - one method to increase the enviroment size is to change the startup - cmd line property for C:\WINDOWS\SYSTEM32\COMMAND.COM to the - following: - C:\WINDOWS\system32\command.com /e:32000 - - Your installation is now complete. * How do I compile and link programs? --- 396,401 ---- Andrew