Top "Vbscript" questions

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

How to get two or more commands together into a batch file

I want to enter a command in command prompt after reaching a specific location. How can I achieve this? e.…

batch-file cmd vbscript
how can I check if a file exists?

I want to check to see if a file exists and if it does, I want to open it and …

vbscript wsh
How do I sort arrays using vbscript?

I'm scanning through a file looking for lines that match a certain regex pattern, and then I want to print …

vbscript sorting
If file exists then delete the file

I have a vbscript that is used to rename files. What I need to implement into the script is something …

vbscript filesystemobject
VBScript - How to make program wait until process has finished?

I have a problem in a VBScript that I am using with a VBA/Excel macro and a HTA. The …

vba vbscript excel excel-2010
Is there "\n" equivalent in VBscript?

I want to use the Replace function in VBScript to replacea all line breaks in a string for "\n". I …

string vbscript
Execute DOS command from VBScript

How I can Execute a DOS command from VBScript (not by .bat file) For example I want to execute the …

vbscript cmd dos
How can I convert a VBScript to an executable (EXE) file?

I'd looked around for information to convert a VBScript (*.vbs) to an executable and realised that most of the tools …

vbscript executable iexpress
Can Windows' built-in ZIP compression be scripted?

Is the ZIP compression that is built into Windows XP/Vista/2003/2008 able to be scripted at all? What executable would …

windows vbscript batch-file zip scripting
How to stop a vb script running in windows

I'm using windows 7 I wrote a script to check whether My Laptop is running in Battery or AC current. I …

scripting vbscript windows-scripting