delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <5195c8760901040237t233cb831k2a3041b737b8cd8e@mail.gmail.com> |
Date: | Sun, 4 Jan 2009 16:07:37 +0530 |
From: | "Jeenu V" <jeenuv AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Trick cmd.exe of Windows XP to run cygwin Batch Script. |
In-Reply-To: | <17f020130901040231o7844d628m9b71b6d09be0ee91@mail.gmail.com> |
MIME-Version: | 1.0 |
References: | <r531m49nvsu311asr3g18jk74m5l104lch AT 4ax DOT com> <17f020130901040231o7844d628m9b71b6d09be0ee91 AT mail DOT gmail DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Sun, Jan 4, 2009 at 4:01 PM, Frank Fesevur <ffes AT users DOT sourceforge DOT net> wrote: > Hongyi Zhao wrote: > >> I've some cygwin/bash scripts and I want to invoke them without log >> into the Cygwin's bash terminal. Is this possible? > > I have written a small utility named 'weft' that can set a file > association to start .sh-files with a cygwin bash by double clicking > it in the Explorer. I don't have it here anymore, so I have to dig > that up in my archives if you interested. > Do you really need a utility for that? I mean you could always do that with Windows explorer - Tools->Folder Options; at the File Types tab, you can associate .sh files with bash executable. Or use the context menu Open With and then browse and select bash.exe, with "Always use this program .." option checked. Alternatively, place the following thing into a batch file (.bat) and double-click it. c:\your\path\to\bash.exe your_script.sh -- :J -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |