This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: bash script ->exe
- From: "Elfyn McBratney" <elfyn-cygwin at exposure dot org dot uk>
- To: "cygwin" <cygwin at cygwin dot com>,"Yadin Y. Goldschmidt" <yadin at pitt dot edu>
- Date: Thu, 13 Mar 2003 14:40:47 -0000
- Subject: Re: bash script ->exe
- References: <b4q4lo$e77$1@main.gmane.org>
> 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 at exposure dot org dot 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/