---
title: "Give examples where VB script can directly run on users system with Windows as OS?"  
description: "Give examples where VB script can directly run on users system with Windows as OS?"  
author: "Dependra Pathak"  
published: 2011-03-19  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/559/give-examples-where-vb-script-can-directly-run-on-users-system-with-windows-as-os  
category: "vb script"  
tags: ["vb script"]  
reading_time: 1 minute  

---

# Give examples where VB script can directly run on users system with Windows as OS?

A simple example detailing the running of VB Script is by utilizing Windows Script host environment. Visual basic is a stand alone application which has a .vbs as extension. Input can be provided through graphical user interface and output can be obtained by Wscript.exe from dialog and input boxes. From command line it can be invoked by Cscript.exe.

## Answers

### Answer by Dependra Pathak

A simple example detailing the running of VB Script is by utilizing Windows Script host environment. Visual basic is a stand alone application which has a .vbs as extension. Input can be provided through graphical user interface and output can be obtained by Wscript.exe from dialog and input boxes. From command line it can be invoked by Cscript.exe.


---

Original Source: https://www.mindstick.com/interview/559/give-examples-where-vb-script-can-directly-run-on-users-system-with-windows-as-os

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
