How Can I Convert Names to Proper Case?

Hey, Scripting Guy! I have a script that my help desk people use to create user accounts. Unfortunately, sometimes these help desk personnel get in a hurry and type in names like this: kEn MYEr. How can I convert names to proper case (i.e., Ken Myer)?– LC Hey, LC. You know what: you’re in luck….


How Can I Change the Description for a Computer?

Hey, Scripting Guy! When I use Windows Explorer to connect to a remote computer, I can see a description of that computer in the Details pane. How can I change the description for a computer?– GF Hey, GF. Just to make sure everyone is clear what we’re talking about, we are not talking about the…

11

How Can I Print Text Files to a Printer Other than the Default Printer?

Hey, Scripting Guy! How can I print text files to a printer other than the default printer?– JD Hey, JD. Boy, talk about pride going before the fall. When we first set out to answer this question we already “knew” how to solve the problem. We were well aware that the Shell object provides a…

4

How Can I Convert an Outlook Email Message into a Text File?

Hey, Scripting Guy! How can I convert an Outlook email message into a text file?– MW Hey, MW. You know what drives the Scripting Guys crazy? (We mean besides the other Scripting Guys.) It’s this: people who barely say hello before they start making excuses: “I’m sorry I did such a lousy job on this,…

6

How Can I Change the Location of a User’s Home Drive in Active Directory?

Hey, Scripting Guy! How can I change the location of a user’s home drive in Active Directory?– DS Hey, DS. Did you ever read the story The Tell-Tale Heart by Edgar Allan Poe? In that story the narrator commits the perfect crime: he kills an old man and then dismembers and hides the body, taking…

6

How Can I Remove All the Local Printers from a Computer?

Hey, Scripting Guy! How can I remove all the local printers from a computer?– JW Hey, JW. You did say that you wanted to do this only on computers running Windows XP or Windows Server 2003, didn’t you? You didn’t? Oh. Well, we’re going to pretend that you did, because this is a very easy…

9

How Can I Close a Command Window with a Specific Title?

Hey, Scripting Guy! How can I use WSH to close a command window with a specific title?– MF Hey, MF. You know, some things are just really hard to believe, regardless of whether or not they happen to be true. For example, according to the Big Bang Theory the entire universe was created when a…

2

How Can I Set Word’s Revision View Mode to Final?

Hey, Scripting Guy! In Microsoft Word 2003, my documents open as Final Showing Markup. How can I change this so the default view is Final?– CD Hey, CD. You know, this is the first Hey, Scripting Guy! column we’ve written since returning from the Thanksgiving holiday. After four days of eating, football, eating, basketball, and…

1

How Can I Rename Files Like _JKG1234.jpg to 272_DSC_1234.jpg?

Hey, Scripting Guy! How can I rename files like _JKG1234.jpg to 272_DSC_1234.jpg?– NA Hey, NA. You know, NA, we feel sorry for you. Why? Well, on the one hand you’re unbelievably lucky. After all, the Scripting Guys never write scripts that they actually use, yet you somehow managed to hit upon an exception. Talk about…


How Can I Get a List of All the Groups Whose Name Starts with G-S-Group?

Hey, Scripting Guy! How can I use wildcards to get a list of all the groups whose name starts with G-S-Group? — JD Hey, JD. It’s the day before Thanksgiving, and one of the Scripting Guys is headed out of town as soon as he finishes his Hey, Scripting Guy! column. And what a coincidence:…

4