Scripting Blog [archived]

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

Hey, Scripting Guy! How Can I Set the Default File Path in Office Excel to a User’s Home Directory?

(image) Hey, Scripting Guy! How can I set Office Excel’s default file path to a user’s home directory?-- LL (image) (image) (image) Hey, LL. We hope that the script we’re about to show you will answer your question; if it doesn’t, you might have to wait awhile before we can get back to you on it. That’s because...

Hey, Scripting Guy! How Can I List All the Groups in a Windows NT 4.0 Domain?

(image) Hey, Scripting Guy! How can I list all the groups in a Windows NT 4.0 domain?-- MN (image) (image) (image) Hey, MN. It’s Martin Luther King, Jr. Day here in the USA, and, normally, you’d expect the Scripting Guy who writes this column to start things off by relating some irrelevant anecdote about Dr. King. Oddly enough, ...

Hey, Scripting Guy! How Can I Subtract Days From a UTC Date-Time Value in Windows 2000?

(image) Hey, Scripting Guy! On a Windows 2000 computer, how can I subtract days from a UTC date-time value?-- KP (image) (image) (image) Hey, KP. Yes, we do blame all of this on Scripting Guy Dean Tsaltas. The Scripting Guy who writes this column has known Dean for six years now, and Dean has spent those entire six years complaining about ...

Hey, Scripting Guy! How Can I Take Action Based on the First Line of a Text File?

(image) Hey, Scripting Guy! How can I read the first line of every file in a folder and then move each file if the line contains thisdomain.com or thatdomain.com?-- AZ (image) (image) (image) Hey, AZ. We’ll get to your question in a moment. However, before we do that we have something important to say: flight of cheeses. OK, we can go...

Hey, Scripting Guy! How Can I Retrieve the Subject Property for a .MSI File?

(image) Hey, Scripting Guy! How can I retrieve the Subject property for a .MSI file?-- J L-G (image) (image) (image) Hey, J L-G. Before you ask, the Scripting Guy who writes this column has no comment on the January 8th Florida-Ohio State football game. That’s primarily because this Scripting Guy refuses to recognize the “Bowl ...