This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Link "bash" to "ksh" to be more "portable"?
- To: "David M. Karr" <dkarr at tcsi dot com>, cygwin at sourceware dot cygnus dot com
- Subject: Re: Link "bash" to "ksh" to be more "portable"?
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Mon, 18 Sep 2000 15:34:31 -0700 (PDT)
--- "David M. Karr" <dkarr@tcsi.com> 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,
=====
--- <http://earniesystems.safeshopper.com> ---
Earnie Boyd: <mailto:earnie_boyd@yahoo.com>
__Cygwin: POSIX on Windows__
Cygwin Newbies: <http://gw32.freeyellow.com/>
__Minimalist GNU for Windows__
Mingw Home: <http://www.mingw.org/>
__________________________________________________
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@sourceware.cygnus.com