Showing archive results for 2005

Jun 3, 2005
Post comments count0
Post likes count0

Hey, Scripting Guy! How Can I List All the User Profiles on a Computer?

ScriptingGuy1

Hey, Scripting Guy! How can I list all the user profiles on a computer? -- GN Hey, GN. You want to know a secret? We hate questions about user profiles. It’s not that we have anything against user profiles. The problem is that user profiles represent an important part of a system administrator’s duties, and because of that everyone assum...

Scripting Guy!VBScriptoperating system
Jun 2, 2005
Post comments count0
Post likes count0

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

ScriptingGuy1

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 Hey, KB. Ta...

Scripting Guy!scripting techniquesVBScript
Jun 1, 2005
Post comments count0
Post likes count0

How Can I Retrieve the Path to the %windir% Folder on a Computer?

ScriptingGuy1

Hey, Scripting Guy! How can I retrieve the path to the %windir% folder on a computer?-- DS Hey, DS. Interesting that you should ask this question. This same question happened to be asked on an internal Microsoft mailing list just the other day, and the answer given (not by one of the Scripting Guys we hasten to add) was an extremely complicated ...

Scripting Guy!VBScriptoperating system
May 31, 2005
Post comments count0
Post likes count0

How Can I Open an Excel Workbook and Retrieve the Names of All the Worksheets?

ScriptingGuy1

Hey, Scripting Guy! How can I open an Excel workbook and retrieve the names of all the worksheets?-- JG Hey, JG. It’s the first day back after a three-day weekend, and this morning all the Scripting Guys stumbled into the office and just stared blankly into space. (All in all, pretty much business as usual.) Eventually one of us spoke up and sai...

Scripting Guy!VBScriptOffice
May 27, 2005
Post comments count0
Post likes count0

How Can I Change the “Copy Music to This Location Folder” in Windows Media Player?

ScriptingGuy1

Hey, Scripting Guy! How can I change the Copy music to this location folder in Windows Media Player?-- BD Hey, BD. You know, a lot of people think that the reason we Scripting Guys don’t do very much work is because we’re just plain lazy. Those people are right. However, what we tell our bosses is this: it’s hard for us to do any work because ev...

Scripting Guy!VBScriptoperating system