X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,T_FILL_THIS_FORM_SHORT X-Spam-Check-By: sourceware.org From: "DEWI - N. Zacharias" To: "cygwin AT cygwin DOT com" Date: Mon, 12 Mar 2012 16:11:46 +0100 Subject: AW: [bulk] - start cygwin script from windows Message-ID: <8CCC8F85C5F2784387A32FAD835FB4E607114256DF@server03.company.internal> References: In-Reply-To: Content-Type: text/plain; charset="Windows-1252" MIME-Version: 1.0 X-purgate-relay-fid: relay-2ebacf X-purgate-sourceid: 1S76uc-0001F4-9S X-purgate-Ad: Checked for spam and viruses by eXpurgate(R), see www.eleven.de for details. X-purgate-ID: 151534::1331565110-00001CD0-5DB5C3CE/0-0/0-0 X-purgate: clean X-purgate-type: clean X-purgate-relay-bid: relay-938205 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q2CFCE8f008262 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 DOT Zacharias AT dewi DOT 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