X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <BLU113-W14ACAF64A8F7E925F8982CBEF50@phx.gbl>
From: Mike Marchywka <marchywka@hotmail.com>
To: <cygwin@cygwin.com>
Subject: RE: Automating a Cygwin Script From Windows
Date: Fri, 28 Aug 2009 16:12:18 -0400
In-Reply-To: <25196125.post@talk.nabble.com>
References: <25196125.post@talk.nabble.com>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com






----------------------------------------
> Date: Fri, 28 Aug 2009 13:04:44 -0700
> From: ddjones@gmail.com
> To: cygwin@cygwin.com
> Subject: Automating a Cygwin Script From Windows
>
>
> I need to run a cygwin script directly via windows, probably via dos prom=
pt
> or some other comparable method. This method needs to be automated and
> kicked off in Windows at certain times, so executing Cygwin, then manually
> typing in the script to run in the Cygwin prompt is out of the question.
>
> I was hoping there would be some way to execute Cygwin and concurrently f=
eed
> it a string of commands to execute upon opening, but unfortunately I have
> not had success with this. There seems to be lots of command line options
> for setting display options but nothing that would allow me to feed in a
> command.
>
> Is there any method to do this? Thanks for your time.
>

If you have an icon on your desktop, type the target it should
be something like cygwin.bat. You should IIRC just be able
to invoke bash with whatever params you need.

I just tried it from dos prompt seems to work.











> -JC
> --
> View this message in context: http://www.nabble.com/Automating-a-Cygwin-S=
cript-From-Windows-tp25196125p25196125.html
> Sent from the Cygwin list mailing list archive at Nabble.com.
>
>
> --
> Problem reports: http://cygwin.com/problems.html
> FAQ: http://cygwin.com/faq/
> Documentation: http://cygwin.com/docs.html
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>

_________________________________________________________________
Hotmail=AE is up to 70% faster. Now good news travels really fast.=20
http://windowslive.com/online/hotmail?ocid=3DPID23391::T:WLMTAGL:ON:WL:en-U=
S:WM_HYGN_faster:082009

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

