Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to start with Perl and WSH?

Status
Not open for further replies.

Tve

Programmer
May 22, 2000
166
FR
Hi,

I'm try to understand how to use WSH, but honestly I don't even know where to start.

I have wscript.exe and cscript.exe (they where already installed on my office station).

I looked in Perl docs and got this example

<Job ID=&quot;HelloWorld&quot;>
<script language=PerlScript>
$WScript->Echo(&quot;Hello World!&quot;);
</script>
</Job>


I then tried on the command line:
cscript try.pl
(with above contents)

and I got this error:

CScript Error: There is no script engine for file extension &quot;.pl&quot;.


Can anybody give me clue as what I should do?

Thanks,

Thierry



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top