This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AW: [bulk] - start cygwin script from windows


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]