Link "bash" to "ksh" to be more "portable"?
Earnie Boyd
earnie_boyd@yahoo.com
Mon Sep 18 15:34:00 GMT 2000
--- "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
More information about the Cygwin
mailing list