Showing results for VBScript - Scripting Blog [archived]

Apr 4, 2006
Post comments count0
Post likes count0

How Can I Rename a Word Document Using the First Three Characters in That Document?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I open a Word document, read the first three characters, and then rename the file using those three characters?-- DG Hey, DG. To tell you the truth, we always get a chuckle any time we get a question that asks for our help in renaming files or folders. Why? Well, the Scripting Guy who writes this column has essentiall...

Scripting Guy!VBScriptOffice
Apr 3, 2006
Post comments count0
Post likes count0

How Can I Count the Number of Words in a Text File?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I count the number of words in a text file?-- LA Hey, LA. You know, this is one of those questions where the Scripting Guys outsmarted themselves. (Not that outsmarting the Scripting Guys is particularly hard to do, mind you.) For one thing, we’re writing this column on a Friday, and we always look for an easy way out...

Scripting Guy!scripting techniquesVBScript
Mar 31, 2006
Post comments count0
Post likes count0

How Can I Use a Script to Lock the Taskbar?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I use a script to lock the Taskbar?-- RK Hey, RK. One of the Scripting Guys was a computer support person at the University of Washington when Windows 95 was released. This Scripting Guy has two lasting memories of those days. For one, he remembers having to install both Windows 95 and Microsoft Office on several hund...

Scripting Guy!VBScriptoperating system
Mar 30, 2006
Post comments count0
Post likes count0

How Can I Temporarily Pause a Script in an HTA?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I temporarily pause a script in an HTA?-- TJ Hey, TJ. You know, throughout history people have spent an enormous amount of time and energy searching for the meaning of life. The Scripting Guys have never taken part in this quest. Why not? Well, laziness aside, we know that it doesn’t matter: even if you did find the m...

Scripting Guy!scripting techniquesVBScript
Mar 29, 2006
Post comments count0
Post likes count0

How Can I Change the IP Address Assigned to a Computer?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I change the IP address assigned to a computer?-- RW Hey, RW. To tell you the truth, this is a very difficult question for the Scripting Guys to answer. Not because this is a hard script to write; as you’ll see in a minute, it’s actually pretty easy. No, this is hard for the Scripting Guys because it involves change, ...

Scripting Guy!VBScriptnetworking