Scripting Blog [archived]

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

How Can I Parse a Tab-Delimited File and Then Save That as a Comma-Separated Values File?

(image) Hey, Scripting Guy! How can I parse a tab-delimited file, and then save the resulting information as a comma-separated values file?-- DM(image) (image) (image) Hey, DM. You know, yesterday morning the Scripting Guy who writes this column had to scrape the ice off his windshield; today it’s much warmer – 44 at last report – ...

How Can I Automatically Open New Files Added to a Folder?

(image) Hey, Scripting Guy! How can I monitor a folder for new files and then automatically open each new file that gets added to that folder?-- CA(image) (image) (image) Hey, CA. You know, today is Valentine’s Day in the US, which means that right now most American men are saying to themselves, “What? Today is Valentine’s Day? Uh-oh...

How Can I Change the Last Modified Timestamp for All the Files in a Folder?

(image) Hey, Scripting Guy! How can I change the last modified timestamp for all the files in a folder? I’d like the first file to have a specified timestamp, then each subsequent file to have a timestamp one minute later than the previous file.-- AF(image) (image) (image) Hey, AF; glad to see that you’re taking a break from the 2007 ...

Hey, Scripting Guy! How Can I Delete All the .CSG Files on Drive C of a Computer?

(image) Hey, Scripting Guy! How can I delete all the .csg files on drive C of a computer?-- DL (image) (image) (image) Hey, DL. You know, it’s funny how quickly things can change. Just a few hours ago the Scripting Guy who writes this column was in such a bad mood that he had no intention of explaining to you (or anyone else for that ...

How Can I Convert a Tilde-Delimited File to Microsoft Excel Format?

(image) Hey, Scripting Guy! How can I convert a tilde-delimited file to Microsoft Excel format?-- JN(image) (image) (image) Hey, JN. You know, to tell you the truth we’re beginning to rethink our approach to this column. After all, usually we tell people how easy things are, and how – without much effort – they can write a script that ...