delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/18/18:35:31

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <earnie_boyd AT yahoo DOT com>
Subject: 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
MIME-Version: 1.0

--- "David M. Karr" <dkarr AT tcsi DOT 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 AT yahoo DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019