Scripting Blog [archived]

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

How Can I Create a Folder on the Start Menu?

(image) Hey, Scripting Guy! How can I create a folder on the Start menu? I want the folder to be named the same as the %username% environment variable.-- SB(image) (image) (image) Hey, SB. As we are wont to do, we’re going to break this question down into subtasks. We’ll explain how to do each of these subtasks, then at the end put the...

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