Her følger lidt eksempler på vbScripts:
Set Shell = CreateObject("WScript.Shell") Shell.Exec "control" Set Shell = Nothing
Url = "http://flembo.dk/default.asp" Set obj = CreateObject("InternetExplorer.Application") obj.Visible = True obj.Navigate2(Url)
S = "" Set fso = CreateObject("Scripting.FileSystemObject") Set Drives = fso.Drives For Each Drive In Drives If Drive.IsReady Then S = S & Drive.DriveLetter & ": " &_ Round(Drive.FreeSpace/1024/1024/1024) & " GB" & VbCrLf End If Next S = "Fri plads på registrerede drev:" & VbCrLf & S MsgBox S,0+64,"Information"