X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <1343201120.87444.YahooMailNeo@web162104.mail.bf1.yahoo.com> References: <1343201120 DOT 87444 DOT YahooMailNeo AT web162104 DOT mail DOT bf1 DOT yahoo DOT com> Date: Thu, 26 Jul 2012 08:24:56 -0600 Message-ID: Subject: Re: VB script error in Cygwin From: Keith Christian To: Eric Padriquez , cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 I usually write a CMD.EXE script that in turn, runs cscript and its *.vbs file. Example: The following lines are a cmd "batch" file called bar.cmd @echo on echo.This is "bar.cmd," a CMD.EXE script, which will be invoked by Cygwin echo.Run a vbscript called "foo.vbs" cscript foo.vbs echo."foo.vbs" is complete echo.Done, now exiting "bar.cmd" exit ** First ** ---- run bar.cmd within a CMD.EXE window to be sure it and foo.vbs are working properly outside of Cygwin. ** Second** ---- from within Cygwin's bash (or other) shell, run bar.cmd: $ cmd /c bar.cmd Watch for output or results from "foo.vbs" during the run. ========== Keith -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple