X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject:  Re: Remote execution of shell script from DOS .bat file
Date:  Thu, 11 Jun 2009 08:24:31 +0200
Lines: 18
Message-ID: <h0q81h$aqv$1@ger.gmane.org>
References:  <23975256.post@talk.nabble.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset="us-ascii"
Content-Transfer-Encoding:  7bit
User-Agent: MicroPlanet-Gravity/2.80.1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

* Chap Harrison (Wed, 10 Jun 2009 21:49:17 -0700 (PDT))
> I've written a Perl program that runs in Cygwin on a Windows Server
> 2003 box. I now need to make this program invokable from a DOS prompt
> on another WS2003 box.
> 
> The program is not interactive. You give it the args on the command
> line, and off it goes. Output is a text file in some network-shared
> directory.
> 
> I know very little about Windows or DOS, and not a lot about
> connecting remotely to Cygwin.
> 
> Should I be thinking along the lines of having a BAT file make an ssh
> connection to Cygwin and pass in a command to execute?

Yes.

Thorsten


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

