Scripting Blog [archived]

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

How Can I Delete the Oldest File From a Folder If and When That Folder Exceeds a Specified Size?

(image) Hey, Scripting Guy! I need to check the size of a folder once every hour; if the folder has exceeded a specified size, I then need to delete the oldest file in that folder. How can I do that?-- JC (image) (image) (image) Hey, JC. You know, a lot of you are thinking, “Gee, I wonder what was the very best, very coolest thing that ...

How Can I Get the GUID for a User Account If All I Have is the User’s Logon Name and Domain?

(image) Hey, Scripting Guy! How can I get the GUID for a user account if all I know is the user’s logon name and domain?-- IU (image) (image) (image) Hey, IU. You know, one of the great things about the Scripting Guy who writes this column is – well, OK, right off the top of our head we can’t think of any great things about the ...

How Can I Copy Data From One Spreadsheet to Another?

(image) Hey, Scripting Guy! How can I copy data from one Excel spreadsheet to another Excel spreadsheet?-- AC (image) (image) (image) Hey, AC. You know, we’re going to let you in on a little secret here: the Scripting Guy who writes this column is a tad bit tired this morning. That’s because he arrived home late last night (well after ...

How Can I Tell If a Wireless Network Adapter is Connected to the Network?

(image) Hey, Scripting Guy! How can I tell if a specific wireless network adapter is connected to the network?-- MS (image) (image) (image) Hey, MS. You know, this is a sad day for the Scripting Guy who writes this column. After 10 days of eating Italian pastries, visiting the ruins of ancient cities, and flitting about Venice on water ...