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 Subject: Re: Remote execution of shell script from DOS .bat file Date: Thu, 11 Jun 2009 08:24:31 +0200 Lines: 18 Message-ID: References: <23975256 DOT post AT talk DOT nabble DOT 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 AT cygwin DOT com; run by ezmlm List-Id: 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 * 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/