
WSH scripts vs HTML Applications (.HTA files)
WSH enables you to write scripts that perform functions that you used to use
bat files for. The advantage of
VBScript, or JScript, is that you can do
allot more, including control applications. WSH is really a mechanism of
invoking a script, and a set of objects that enable you to manipulate the
file system.
My scripts are primarily command line driven, and do things like configure
systems. I would not want to do this from an HTML front end, it is more
than I need.
In reality HTML and WSH provide two ways to invoke scripts and so they are
not the same, but the scripting languages that they can invoke are the same.
Therefore there is no duplication in Microsoft's effort.
Chris Lowde
Quote:
> Hello,
> I have a quick question about WSH. Now that IE5 supports
> HTML application files (ie, .HTA files), why do we need
> WSH anymore? HTML apps can do all the same things
> as WSH scripts plus one gets to use DHTML for writing
> user interface code and can generate HTML documents
> on the fly for reports. I'm just kind of curious why Microsoft
> has now released two very similar technologies.......
> Richard