httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jlwpc1" <>
Subject Re: Win32 Survey [Was: WSH works]
Date Thu, 16 Aug 2001 22:19:45 GMT

From: "William A. Rowe, Jr." <>

> Ok, there is the challenge, Win32 users;
> > Go to a command line window and type: 
> > cscript.exe //logo 
> > or 
> > wscript.exe //logo 
> (drop the "file:" part if it pops up, again)
> > What happens?
> Any Win32 user, feel free to confirm (give the version while you are at it.)

Cscript.exe says:
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Input Error: There is no script file specified.



Displays a nice error window with a
big red circle with a X in it and says
There in no script file specified.

WSH works great!

> Of course, it would be a problem to use JScript, since MS is depreciating
> the default distribution of that scripting engine in XP.

Say what?

ECMA JScript is not Java!

Windows .NET uses JScript in a big way
via JScript .NET  (hint - learn it) !

WSH also uses XML. 
 Windows .NET uses XML in a 
big way!
(hint - learn it! )

So WSH lets you "do" Apache
while learning XML, JScript, VBScript 
and COM usage 
(hint:  - all used in Windows .NET.)
A win win or all!

> Although Perl works
> very nicely,

If you remember,  
is it a backslash or forward slash,
for each and every function/extension?  :)

>to use it  it's not installed by default.  Which leaves ... VB.  At least
> the had the common sense to add the Option Explicit pragma, so that it works
> rather like a real language.

That is VBScript (not VB) and it works great in WSH.

(hint - remember there is more VB code around
than any other code out there, 
and a lot can be easily used in VBScript.)
> Bill

Haven't you ever tried any Windows
Script Host actions?  Lots can
be used with Apache admins and in
development too!

Try it!


View raw message