in reply to Re^3: perl and wscript
in thread perl and wscript

As the VB scripts can be invoked using cscript/wscript <name_of_your_VB_script>, Hence my assumption is to be able to invoke cscript/wscript in the same fashion by using Perl's system function.

This time i tried with cscript by invoking

cscript //h:cscript

Now Getting error.

C:\Perl\bin>perl -e "system qw[ cscript c:\\blahblah.wsf]"

Microsoft (R) Windows Script Host Version 5.7 Copyright (C) Microsoft Corporation. All rights reserved.

[IGN-]2011-02-07 03:19:47[-IGN][FAIL] StartScript: Unable to create controller object - 1A8 <----

Replies are listed 'Best First'.
Re^5: perl and wscript
by Anonymous Monk on Feb 07, 2011 at 11:57 UTC
    As you have shown and seen yourself, you are invoking successfully with system, the problem is not perl related