View Full Version : VBS replacing batch files..and more

01-27-2004, 09:57 PM
Today I was looking on amazon for books on batch files, I found that most were out of print and the only one that showed up was the microsoft windows 2000 scripting guide..

Windows Script:
Windows Script is a comprehensive scripting infrastructure for the Microsoft Windows platform. Windows Script provides two script engines, Visual Basic Scripting Edition and Microsoft JScript, which can be embedded into Windows Applications. It also provides an extensive array of supporting technologies that makes it easier for script users to script Windows applications.

Is Jscript microsofts version on javascript?...
if vbs and jscript can be embedded in windows applications..does that mean that the windows OS family is written in some form of Visual Basic or Jscript?..

(i'm at school right now) but i'll check my O'reilly's VBscript book on windows scripting, but i dont think it talks about it much or not at all. does anyone know of some good VBscript books with a strong emphasis on windows scripting?... thank you

01-27-2004, 10:08 PM
JScript is the Microsoft excuse for a JavaScript engine, yeah. I don't know about books, but you can find resources on the topic here:

And no, Windows is not built on them. They are just regular scripting languages that can be used through the windows scripting host. And I'd say they are far more powerful than batch files in DOS ever was.

(Batch files have changed little since then, though. CMD files might be more interesting, since they are made for the NT command.com replacement.)

01-28-2004, 06:03 PM
About msdos..when I type "help" it comes up with a list of commands however some of them are not there, like telnet and netstat, and i am sure there are more of them..but how can I use commands in msdos that it does not even recognise?

01-28-2004, 08:37 PM
google it for msdos commands. This may be of use to you:

Dim message As String
message = "@ECHO OFF"
Open "C:\mntest.bat" For Output As #1
Print #1, message
Print #1, "hello this is a test"
Close #1

Shell "C:\mntest.bat", vbNormalFocus


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum