Scripting Blog [archived]

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

How Can I Insert Commas at Specified Locations in Each Line in a Text File?

(image) Hey, Scripting Guy! How can I insert commas at specified locations in each line in a text file?-- MM (image) (image) (image) Hey, MM. Seeing as how Father’s Day has just come and gone we couldn’t talk about inserting commas into text files without first relating a heartwarming Father’s Day tale of our own. On Father’s Day ...

How Can I Remove a Specific Set of Users From the Local Administrators Group?

(image) Hey, Scripting Guy! How can I delete all the users whose name starts with GER/ad_ from the local Administrators group on a computer?-- ID (image) (image) (image) Hey, ID. It’s a Friday as the Scripting Guy who writes this column writes this column. Usually Fridays are a very sad day for this Scripting Guy: after all, when Friday ...