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]

Re: Autostart Cygwin on Windows boot and run a cygwin command


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


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