VBS File Documentation


Overview

Feature Value
File Extension .vbs
Full Name VBScript File
MIME Type text/vbscript
File Type Script/File
Primary Association Windows Scripting Host
Developer Microsoft
Introduced 1996
Scripting Language Type Interpreted
Character Encoding ANSI, UTF-8 with BOM
Usage Client-side scripting, admin scripts, automation tasks
Can be Edited With Notepad, Visual Studio Code, any text editor
Run On Windows-based systems
Executable Through Windows Script Host (WSH)
Security Risks High, if from an unknown source
Comment Syntax ' Single line comment
Block Comment Not directly supported
Variables Declaration Dim, Public, Private
Example of Use Automating repetitive Windows admin tasks
Can Include HTML, XML, and Windows system commands