WshShell.Run iexplore.exe
Displaying a message to the user is also very simple :
WScript.Echo "Hello World"
Working with files is also relatively simple, lets create a file and write some text into it :
Dim fso ' define an object that we can use to connect to the client file system
Dim tf ' define an handle for our text file
' create the connection to the File System
Set fso = CreateObject("Scripting.FileSystemObject")
' create a handle for our text file, we are going to open the file, overwriting it if it exists, creating it if not
Set tf = fso.OpenTextFile("C:\myfile.txt", 2, True)
' write some text
tf.Write("Hello World")
tf.Write(" Goodby Cruel World")
' close the file
tf.close
Dim my_charset ' define a var to hold our Char Set
Dim key ' define the Registry key to get
Dim Sh ' define our Shell object, through which we get into the Registry
' Create a connection to the client
Set Sh = CreateObject("WScript.Shell")
' set the location of the Registry key we are looking for
key = "HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0\NLSLANG"
' get the value and assign it to our variable
my_charset=Sh.RegRead(key)