Sender: nate AT cartsys DOT com Message-ID: <36C08CF6.20AD1510@cartsys.com> Date: Tue, 09 Feb 1999 11:31:02 -0800 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Running batch files under bash References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Holger Wahlen wrote: > > I'm trying to get bash to work on my machine (DOS 6.20, Win > 3.11), but I'm having trouble with batch files: any "set" > command that tries to create a new variable causes an error > message that says there's not enough environment space > available. Is there any way to provide batch files with a > bigger environment by default? (Executing them via > "command.com /c batchfile" or "rundos batchfile" works, but > you can imagine I'd prefer a simpler way.) Add this line to config.sys and reboot: shell=command.com /e:XXX /p Replace XXX with 1024 initially, and if necessary increase until it goes away. > By the way, what exactly is one supposed to do with the > rundos.sh script that's included in bsh1147b.zip? I've looked > at it and seen what it does, but I haven't found any hint how > to use it: do I always have to type "rundos foo" explicitly, > or can I also tell bash somehow, for example, to call it > automatically for .bat and .com files? Don't know. -- Nate Eldredge nate AT cartsys DOT com