This is the mail archive of the
mailing list for the Cygwin project.
RE: Automating a Cygwin Script From Windows
- From: Mike Marchywka <marchywka at hotmail dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 28 Aug 2009 16:12:18 -0400
- Subject: RE: Automating a Cygwin Script From Windows
- References: <email@example.com>
> Date: Fri, 28 Aug 2009 13:04:44 -0700
> From: firstname.lastname@example.org
> To: email@example.com
> Subject: Automating a Cygwin Script From Windows
> I need to run a cygwin script directly via windows, probably via dos prompt
> 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 feed
> 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
> 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.
> View this message in context: http://www.nabble.com/Automating-a-Cygwin-Script-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® is up to 70% faster. Now good news travels really fast.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple