Top "Vbscript" questions

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

How to keep the VBScript command window open during execution

When I execute a VBScript, the command window that it creates closes quickly before the user gets a chance to …

vbscript command-window
Script to make content entry into a text file

How do I include some "text" into a .txt format file without opening the same via a script on Windows?

powershell vbscript wsh
Windows Task Scheduler Doesn't Run VBScript

I am trying to automate a VBScript by using Windows Task Scheduler. However, I tried to use cscript.exe + "C:\...\…

windows vbscript automation scheduler job-scheduling
Regular Expression Rules in Outlook 2007?

Is it possible to create rules in Outlook 2007 based on a regex string? I'm trying to add a filter for …

regex vba vbscript outlook outlook-2007
How to call web service using vbscript (synchronous)?

Actually there many examples and I have used one of them. But it works asynchronous, I mean it is not …

web-services vbscript synchronous xmlhttprequest
Get the current temporary directory path in VBScript?

The VB trick to get the path of the current temporary directory: Private Declare Function GetTempPath Lib "kernel32" Alias "GetTempPathA" (…

vbscript
Script to start traceroute if continuous ping fails, output to log

I want to continuously ping my home public IP address, and if the ping fails automatically do a traceroute to …

vbscript batch-file ping traceroute
How to force restart a Windows box using VBScript?

I'm trying to find a way to force Windows to reboot, and I am running into issues. I've tried Set …

windows vbscript reboot
Connect to mysql 5.0 database using pure vbscript?

I've tried the below script but I am getting an error: dim cn, rs set cn = CreateObject("ADODB.Connection") set …

mysql vbscript odbc mysql-connector
How to tell if an Excel 2007 spreadsheet is open and WHO has it open using VBScript

How do I tell if an Excel 2007 spreadsheet is open and WHO has it open using VBScript? I am trying …

excel vbscript excel-2007