Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <20000918223431.20524.qmail@web112.yahoomail.com> Date: Mon, 18 Sep 2000 15:34:31 -0700 (PDT) From: Earnie Boyd Subject: Re: Link "bash" to "ksh" to be more "portable"? To: "David M. Karr" , cygwin AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- "David M. Karr" wrote: > > I'm aware of the recently mentioned incantation to run a ".bat" file > from Cygwin. I would guess that a very simple "cygrunbat" script > could encapsulate this. > Create a noop executable named #!.exe and put it in the /bin directory. Then in the foo.bat file put something like `#! c:/winnt/system32/cmd /c' as the first line of the file. The file still has to be named foo.bat so that cmd recognizes it as an executable file. Cheers, ===== --- --- Earnie Boyd: __Cygwin: POSIX on Windows__ Cygwin Newbies: __Minimalist GNU for Windows__ Mingw Home: __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com