Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Getting started with wsh

50 views
Skip to first unread message

Michael Harris

unread,
Oct 24, 2000, 3:00:00 AM10/24/00
to

> 1. wsh needs to be installed on the NT platform(others 95/98) so that
> one can write .vbs script files which can be executed.

WSH come wiith Win98, WinME and Win2K, so an install is needed on for Win95 and NT4.

> 2. if one wants to run the script via command prompt then we use csript.
> otherwise wscript and csript are the same thing.

CScript.exe supports console I/O via WScript.Echo and the StdIn, StdOut, StdErr object properties
because it's a console mode version of WScript.exe. Other than that, they are functionally the
same.

>
> 3. Please let me know as to what are the files that are installed on
> the OS when we install the wsh from
> http://www.microsoft.com/msdownload/vbscript/scripting.asp the file
> scr55en.exe.
>

Open scr55en.exe with WinZip and see for yourself...

Other "essential resources"...

Win32 Scripting [Clarence Washington]
http://cwashington.netreach.net (script search form at bottom of page)
http://cwashington.netreach.net/script_repository/repository.asp
http://cwashington.netreach.net/script_repository/query.asp (search form)
http://cwashington.netreach.net/main_site/downloads
http://cwashington.netreach.net/script_repository/faqs.asp?topic=wmifaq
http://cwashington.netreach.net/script_repository/faqs.asp?topic=adsifaq

VBScript User's Guide
http://msdn.microsoft.com/scripting/vbscript/doc/vbstutor.htm
VBScript Documentation
http://msdn.microsoft.com/scripting/vbscript/techinfo/vbsdocs.htm
http://msdn.microsoft.com/scripting/vbscript/download/vbsdoc.exe

FileSystemObject User's Guide
http://msdn.microsoft.com/scripting/vbscript/doc/jsFSOTutor.htm
VBScript Run-Time Library Reference [FileSystemObject/Dictionary]
http://msdn.microsoft.com/scripting/vbscript/doc/VBSFSOTOC.htm

JScript Tutorial
http://msdn.microsoft.com/scripting/jscript/doc/jsconJScriptUsersGuide.htm
JScript Documentation
http://msdn.microsoft.com/scripting/jscript/techinfo/jsdocs.htm
http://msdn.microsoft.com/scripting/jscript/download/jsdoc.exe

WSH 2.0 Tutorial
http://msdn.microsoft.com/scripting/windowshost/doc/wsTutorialTOC.htm
WSH Documentation
http://msdn.microsoft.com/scripting/windowshost/docs/reference/default.htm
http://msdn.microsoft.com/scripting/windowshost/wshdoc.exe

WSC Tutorial
http://msdn.microsoft.com/scripting/scriptlets/doc/lettitle.htm
WSC Documentation
http://msdn.microsoft.com/scripting/scriptlets/serverdocs.htm
http://msdn.microsoft.com/scripting/scriptlets/wscdoc.exe


--
Michael Harris
Microsoft.MVP.Scripting
--

john_...@my-deja.com

unread,
Oct 25, 2000, 12:24:23 AM10/25/00
to
hi all,

i just discovered the power of vb scripts that can be executed on the
native windows NT platform and since then decided to work more on
writing programs that can do lot chores on the NT. I did a search on
the web and luckily i found this newsgroup. ok this is what i
understand of wsh, please correct me where my understanding is wrong
and also suggest me further as well.

1. wsh needs to be installed on the NT platform(others 95/98) so that
one can write .vbs script files which can be executed.

2. if one wants to run the script via command prompt then we use csript.
otherwise wscript and csript are the same thing.

3. Please let me know as to what are the files that are installed on


the OS when we install the wsh from
http://www.microsoft.com/msdownload/vbscript/scripting.asp the file
scr55en.exe.

any other info that can help me in developing powerful and better
scripts (vbs).

thanks
john


Sent via Deja.com http://www.deja.com/
Before you buy.

john_...@my-deja.com

unread,
Oct 25, 2000, 12:43:04 AM10/25/00
to john_...@yahoo.com
also there are 3 versions (or types ?? ) for wsh.
for IIS, Internet Explorer and native OS (like NT)
if i understand correctly the three are same engine which provides the
interpreter (or environment ???) so that vb scripts can be executed.
on the IIS => called as asp (active server pages)
on IE => called as vbscript that can be executed in a browser
on native OS => called as vb script which we can execute.

is my understanding ok. please let me know as i am just getting started
and this is what i could get from the initial reading of the FAQs and
other docs etc.

thanks
john

In article <8t5n9j$ffn$1...@nnrp1.deja.com>,

john_...@my-deja.com

unread,
Oct 25, 2000, 2:42:27 AM10/25/00
to
this surely gets me started. finally on a quick note, please let me
listen to your comments on the fact of investing on learning vb script.
(like this can help in writing asp. any differences in syntax/usage)

thanks
john

In article <#8f9zIkPAHA.296@cppssbbsa04>,


"Michael Harris" <Please...@To.NewsGroup> wrote:
>
> > 1. wsh needs to be installed on the NT platform(others 95/98) so
that
> > one can write .vbs script files which can be executed.
>

> WSH come wiith Win98, WinME and Win2K, so an install is needed on for
Win95 and NT4.
>

> > 2. if one wants to run the script via command prompt then we use
csript.
> > otherwise wscript and csript are the same thing.
>

> CScript.exe supports console I/O via WScript.Echo and the StdIn,
StdOut, StdErr object properties
> because it's a console mode version of WScript.exe. Other than that,
they are functionally the
> same.
>
> >

> > 3. Please let me know as to what are the files that are installed on
> > the OS when we install the wsh from
> > http://www.microsoft.com/msdownload/vbscript/scripting.asp the file
> > scr55en.exe.
> >
>

0 new messages