Message-ID: <005401c2b632$713a4760$0100a8c0@acp42g> From: "Andrew Cottrell" To: References: <003601c2a7b8$a68a0780$0100a8c0 AT p4> <3E046DCA DOT 3AE43730 AT phekda DOT freeserve DOT co DOT uk> <007301c2b562$d771d820$0100a8c0 AT acp42g> <3E196BF5 DOT C2788EED AT phekda DOT freeserve DOT co DOT uk> Subject: Quirk with command.com shell on XP Date: Tue, 7 Jan 2003 20:51:37 +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 By default on my XP comspec is set to use cmd.exe, but if I start a command.com shell and then use redir.exe it uses comspec and as such runs the program in a cmd.com shell. This may seem okay, but when I do this I run out of enviroment space in teh resulting cmd.com shell. If I set comspec=.....\command.com then I don't run out of environment space. Could other people check this, all you need to do is to try the following:- 1) create a file called makeall.bat with the following lines set DJGPP_ROOT=D:\DJ204 set CONFIRM_COPY= set TESTSHELL=%DJGPP_ROOT%\bin\bash.exe 2) Try to execute the makeall.bat using the following command:- redir -o mkall_out.txt -eo makeall.bat 3) Open the mkall_out.txt and see if the set environment variables worked or not If this occurs on other XP boxes then we need to add the to the FAQ or the readme.1st file. If it doesn;t happen on other XP boxes then I will be very pi**ed off. Regards, Andrew