Scripting Blog [archived]

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

How Can I Delete All the .BAK Files in a Folder That Are More Than 7 Days Old?

(image) Hey, Scripting Guy! How can I delete all the .BAK files in a folder that are more than 7 days old?-- KT(image) (image) (image) Hey, KT. You know, on his way to work this morning the Scripting Guy who writes this column heard an advertisement for a local seafood restaurant. Now, this Scripting Guy doesn’t like seafood, so he ...

How Can I Use Information in an Excel Spreadsheet to Rename a Set of Folders?

(image) Hey, Scripting Guy! How can I rename a bunch of folders using a script? The old folder names are in the first column of an Excel spreadsheet and the new folder names are in the second column of an Excel spreadsheet.-- SF(image) (image) (image) Hey, SF. Oh, and welcome to Hey, Scripting Guy!, your daily source for scripting ...

How Can I Locate All the Folders That Have ArchiveASN in the Path?

(image) Hey, Scripting Guy! How can I locate all the folders on a computer that have \Archive\ASN\ somewhere in the path?-- AB(image) (image) (image) Hey, AB. We hope this message finds you well. Perhaps you are surprised to hear from us like this; a mutual friend provided us with your name and assured us that you were a responsible and ...