delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/19/18:19:15

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <943be0b10803191618u7668057cmf142fd2bd15359f2@mail.gmail.com>
Date: Wed, 19 Mar 2008 13:18:20 -1000
From: "Dave Burns" <tburns AT hawaii DOT edu>
To: cygwin AT cygwin DOT com
Subject: Re: invoke vbscript from cygwin?
In-Reply-To: <23fce8e60803191549u7c26de6bo2d41e95aa9a419ae@mail.gmail.com>
MIME-Version: 1.0
References: <943be0b10803191523g2bba03cck7e17832dc56958ca AT mail DOT gmail DOT com> <23fce8e60803191549u7c26de6bo2d41e95aa9a419ae AT mail DOT gmail DOT com>
X-Google-Sender-Auth: 51ee81ef61eda3a5
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Wed, Mar 19, 2008 at 12:49 PM, James Abley <james DOT abley AT gmail DOT com> wrote:
>
> On 19/03/2008, Dave Burns <tburns AT hawaii DOT edu> wrote:
>  > How would one invoke a vbscript from cygwin, if it is possible? I
>  >  guess invoking cygwin from a vbscript would also do the trick, though
>  >  I'd rather not have to fiddle with the vbscript at all.
>  >
>  >  I tried googling and looking at cygwin docs, but couldn't find
>  >  anything. Thanks in advance for any clues.
>  >
>  >  Dave
>  >
>
>  I'm not sure what you're trying to accomplish, but is there any reason
>  why you can't use cscript.exe or wscript.exe to run your .vbs scripts?
>  If they're on your PATH, it should work.

Yes, that worked splendidly. Should I have known about these
executables? Are they the regular interpreters for vbscripts?  I know
little about cygwin and nothing about vbscript, and I did not see
these mentioned in the documentation. Maybe I was too hasty, but I
didn't even see "Here's how you invoke a regular windows .exe from
within cygwin". I'm sorry for mystifying you - someone handed me an
existing vbscript that does 90% of what I want, I just need to pipe
the output into ssh to send it to another machine to be parsed and
processed. I could pay a licensing fee and get a proprietary VBS
component that does ssh and modify the vbscript to do just what I
want, but why go to all that trouble?

Thanks for big help!
Dave

--
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