Autostart Cygwin on Windows boot and run a cygwin command

Jan Bruun Andersen jan_bruun_andersen@jabba.dk
Mon Mar 14 19:21:00 GMT 2011


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



More information about the Cygwin mailing list