Scripting Blog [archived]

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

How Can I Use a Wildcard Character to Delete Folders?

(image) Hey, Scripting Guy! How can I delete folders based on a wildcard character? For example, how can I delete all the folders whose name starts with December?-- RR(image) (image) (image) Hey, RR. Well, that depends. If you’re running Windows XP or Windows Server 2003, you can actually use a wildcard character to identify and then ...

How Can I Disable the Guest Account on a Computer?

(image) Hey, Scripting Guy! How can I determine whether or not the Guest account is enabled on a computer and, if it is, disable it?-- PR(image) (image) (image) Hey, PR. At last: a question for which there is a very simple, very straightforward answer. This isn’t to minimize the importance of the task: in general, it’s highly ...