Top "Vbscript" questions

VBScript (Visual Basic Scripting Edition) is an interpreted scripting language developed by Microsoft that is modeled on Visual Basic.

How to set delay in vbscript

How to set delay in vbscript? WScript.Sleep(100) does not work on Windows XP, Vista.

vbscript
vbscript output to console

What is the command or the quickest way to output results to console using vbscript?

windows vbscript console output
Creating and writing lines to a file

Is it possible to create a file and write lines to it in vbscript? Something similar to echo in bat …

vbscript
VBScript -- Using error handling

I want to use VBScript to catch errors and log them (ie on error "log something") then resume the next …

vbscript error-handling
How to do multiple conditions for single If statement

I'm trying to do two conditions on a single If statement in vbscript. Should be really simple, but it's not …

vbscript
Read and write into a file using VBScript

How can we read and write some string into a text file using VBScript? I mean I have a text …

vbscript
Can I pass an argument to a VBScript (vbs file launched with cscript)?

I have this script saved in "test.vbs": Set FSO = CreateObject("Scripting.FileSystemObject") Set File = FSO.OpenTextFile(workFolder &"\test.…

vbscript parameters execution arguments wsh
Run Command Line & Command From VBS

I need to run a command to copy a file from one location to another through Command Prompt using a …

vbscript command-prompt
Running vbscript from batch file

I just need to write a simple batch file just to run a vbscript. Both the vbscript and the batch …

vbscript batch-file 32bit-64bit 32-bit syswow64
Launch programs whose path contains spaces

I need to launch programs in my local system using VBScript. But I am having trouble with the syntax. This …

vbscript