X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <31144428.post@talk.nabble.com> References: <31144428 DOT post AT talk DOT nabble DOT com> Date: Mon, 14 Mar 2011 20:16:28 +0100 Message-ID: Subject: Re: Autostart Cygwin on Windows boot and run a cygwin command From: Jan Bruun Andersen To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Mar 14, 2011 3:07 PM, "PeterSmith" wrote: > What I want is on Windows start, also run Cygwin AND run a specific command. Why? Why bother with Cygwin? You are starting some Java program that I assume will work just fine when started from a simple CMD-script. @echo off E: cd solr\apache-solr-4.0-2010-10-12_08-05-48\example java -Dsolr.solr.home=".\example-DIH\solr" -jar start.jar -- Jan Bruun Andersen -- 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