This is the mail archive of the
cygwin
mailing list for the Cygwin project.
AW: [bulk] - start cygwin script from windows
- From: "DEWI - N. Zacharias" <N dot Zacharias at dewi dot de>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Mon, 12 Mar 2012 16:11:46 +0100
- Subject: AW: [bulk] - start cygwin script from windows
- References: <jjghu4$edt$1@dough.gmane.org>
Hi Christian,
>Von: Christian Buhtz []
>Gesendet: Samstag, 10. März 2012 22:43
>Betreff: [bulk] - start cygwin script from windows
>
>I have a script running on cygwin.
>
>I want to start it (with taksplaner) from windows but cygwin is not running.
>
>How can I tell window to start the script but need to run cygwin first?
>
%CYGBINS%bash.exe -c "%AUFRUF%"
Where
%CYGBINS% is dos/windows path to bash (e.g. c:\cygwin\bin\)
And
%AUFRUF% the script with parameters as you would call it from the bash command line
Have fun
Norbert
--------------------------------------------------------------------------
Dipl. Phys.
Norbert Zacharias
Wind Measurements & Power Curve Measurements
DEWI GmbH
Ebertstrasse 96
26382 Wilhelmshaven
Germany
Tel.: +49 4421 4808 876
Fax: +49 4421 4808 843
Email: N.Zacharias@dewi.de
Home: http://www.dewi.de
DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven
Commercial Register No.: Amtsgericht Oldenburg, HRB 130241
Managing Director: Jens Peter Molly
Chairman of the supervisory board: Leitender Ministerialrat Norbert Nüsken
P Please consider the environment before printing this email.
--
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