Windows by default only knows .js for JavaScript and .vbs for VBScript. You
can either tell cscript that you want to use PerlScript-Engine by
cscript //E:PerlScript myscript.pl
or register .pl as extension somehow (I do not know exactly how)
HTH,
Rolf
> -----Original Message-----
> From: Jean-Pierre Haeberly
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 17, 2000 3:31 PM
> To: Perl-Win32-Users Mailing List
> Subject: WSH
>
>
> When I try to run a PerlScript under WSH, e.g.
>
> cscript myscript.pl
>
> I get the following error message:
>
> Input Error: There is no script engine for file extension ".pl"
>
> Could anybody explain the problem to me, please? The ActivePerl
> documentation does not seem to mention how to configure the
> environment in
> order to run PerlScript under WSH.
>
> Thanks in advance.
> JPH
>
> ---
> You are currently subscribed to perl-win32-users as:
> [EMAIL PROTECTED]
> To unsubscribe, forward this message to
> [EMAIL PROTECTED]
> For non-automated Mailing List support, send email to
> [EMAIL PROTECTED]
>
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]