delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/11/02:26:29

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT 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 DOT post AT talk DOT nabble DOT com>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.80.1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019