Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

How Can I Hide the Command Window When Executing a Command Like net Localgroup Administrators?

(image) Hey, Scripting Guy! How can I hide the command window when executing a command like net localgroup Administrators?-- AA(image) (image) (image) Hey, AA. You know, before we begin we’d like to take a few minutes to recognize all those faithful readers who read the Hey, Scripting Guy! column each and every day. Hey, June; how’s it...

How Can I Display More Than 1,023 Characters in a Custom Message Box?

(image) Hey, Scripting Guy! I need to create a custom alert box that has over 1,000 characters in it. The message box used by Wscript.Echo can hold all the characters, but I can’t change the message box title. I can change the title of a message box used by the VBscript MsgBox function, but it won’t hold all my characters. Can you help...

How Can I Tell if an Excel Workbook is Open and, If It Isn’t, Open It?

(image) Hey, Scripting Guy! How can I tell if a specific Excel workbook is open and, if it isn’t, open it?-- RK(image) (image) (image) Hey, RK. Every now and then we see a question and think, “We should answer this one; it’s so easy it won’t take more than a few minutes to finish the column and then we can all take a nice long ...