First steps in vb scripting for windows / DOS


Starting out with a new series of tips, getting started with vb scripting. Microsoft have an excellent guide on the site, which I’ve link at the bottom of this post.


Below is the typical ‘hello world’ script


C:\Documents and Settings\Admin > copy con test.vbs
Wscript.echo "Hello World."
1 file(s) copied.C:\Documents and Settings\Admin > cscript test.vbs
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.Hello World.

Leave a Reply

Your email address will not be published. Required fields are marked *