X-Recipient: archive-cygwin@delorie.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@hawaii.edu>
To: cygwin@cygwin.com
Subject: Re: invoke vbscript from cygwin?
In-Reply-To: <23fce8e60803191549u7c26de6bo2d41e95aa9a419ae@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <943be0b10803191523g2bba03cck7e17832dc56958ca@mail.gmail.com> 	 <23fce8e60803191549u7c26de6bo2d41e95aa9a419ae@mail.gmail.com>
X-Google-Sender-Auth: 51ee81ef61eda3a5
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On Wed, Mar 19, 2008 at 12:49 PM, James Abley <james.abley@gmail.com> wrote:
>
> On 19/03/2008, Dave Burns <tburns@hawaii.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/

