Code Script .co.uk

Home | Scripts | Tutorials | Disclaimer | Sitemap | Contact

   WScript Object
 

Vbs / Wscript Object

A simple script showing the methods of the Wscript object.


WScript.Echo "Name: " & vbTab & Wscript.Name & vbCRLF & _
"Version: " &  vbTab & Wscript.Version & vbCRLF & _
"Application: " &  vbTab & Wscript.Application & vbCRLF & _
"BuildVersion: " &  vbTab & Wscript.BuildVersion & vbCRLF & _
"FullName: " & vbTab & Wscript.FullName & vbCRLF & vbCRLF & _
"ScriptFullName: " &  vbTab & Wscript.ScriptFullName & vbCRLF & _
"ScriptName: " &  vbTab & Wscript.ScriptName & vbCRLF


'End script if running for this long (secs)
Wscript.Timeout = 2

'Sleep/pause script (millisecs)
Wscript.Sleep 3000

'End Script
Wscript.Quit

Add Comment
Your Name:
Comment:




Please note that a disclaimer applies to any code on this page.
 
   Actions
  Go Back
  Bookmark
  Print Page


   Menu
 
- Links
- Reference
- Script Editors
- Tutorials
- Vbscript


Keywords: Wscritp Object, W.Script, W Script, CScript,