Date: Thu, 9 Jul 1998 11:02:47 +0300 (IDT) From: Eli Zaretskii To: Myknees AT aol DOT com cc: djgpp AT delorie DOT com Subject: Re: Can I try BASH? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 8 Jul 1998 Myknees AT aol DOT com wrote: > > AFAIK, the latest port of Bash does support DOS batch files. I think the > > README.dos file in the distribution says that. > > But for changing the current directory? Do you mean that bash > itself executes the commands, like this: > @echo off > cd c:\over\there > dir > > ...landing you in "c:\over\there" and never invoking command.com? No, it does invoke command.com. > I have > version 1147 and doing that seems to show the contents of c:\over\there > without changing the current working directory. It does change there, but Bash restores the previous directory when the batch file exits, since that is how things work on Unix. If you want to stay in that directory, make an alias from this batch file.