Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <019f01c2e96e$8b5f53f0$57f186d9@webdev>
From: "Elfyn McBratney" <elfyn-cygwin@exposure.org.uk>
To: "cygwin" <cygwin@cygwin.com>, "Yadin Y. Goldschmidt" <yadin@pitt.edu>
References: <b4q4lo$e77$1@main.gmane.org>
Subject: Re: bash script ->exe
Date: Thu, 13 Mar 2003 14:40:47 -0000
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

> Is there a way to convert a bash (or sh or csh ) script into an windows
.exe
> file so it can be executed by a windows program or by clicking on it in
> explorer?

This isn't necessary if all you want is to be able to run the shell script
from your desktop. You just need to create a shortcut that targets

  X:\Cygwin\bin\{bash,csh,sh}.exe -c /posix/path/to/script

You may also wish to add some extra arguments to the shell for extra
functionality.


Regards,

Elfyn McBratney
elfyn@exposure.org.uk
www.exposure.org.uk



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

