Scripting Blog

A place to learn about PowerShell and share stories of automation

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (05/15/09)

Troubleshooting a Script Written in VBScript  Hey, Scripting Guy! I am writing a Visual Basic script which runs a command-line installation of Exchange 2007. However as soon as the installation starts in a separate DOS window, the script goes to the next line and does not wait for that one to finish. I have looked at How Can I Wait Until ...

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

Hey, Scripting Guy! How can I hide the command window when executing a command like net localgroup Administrators?-- AA 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 going? No, that’s pretty much...

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

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?-- KB ...

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

Hey, Scripting Guy! How can I tell if a specific Excel workbook is open and, if it isn’t, open it?-- RK 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 lunch.” At some point you’d ...

Feedback usabilla icon