Scripting Blog [archived]

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

Hey, Scripting Guy! How Can I Get the Name of the Last User to Log on to a Computer?

(image) Hey, Scripting Guy! How can I get the name of the last user to log on to a computer?-- SV (image) (image) (image) Hey, SV. You know, the Scripting Guy who writes this column never watches the news on TV. (OK, sports news being the one exception.) That’s not because he doesn’t like to keep up with current events, it&rsquo...

Hey, Scripting Guy! How Can I Create A New Folder Using a Name Based on the Current Date?

(image) Hey, Scripting Guy! How can I create a new folder each night, using a folder name based on the current date?-- DM (image) (image) (image) Hey, DM. In answer to your unasked question, no, the Scripting Guy who writes this column did not get selected to sit on a jury; as a result, he’s back to work, and back to writing this ...

Hey, Scripting Guy! How Can I Change the Desktop Wallpaper to One of Six Predefined Selections?

(image) Hey, Scripting Guy! How can I change the desktop wallpaper to one of six pre-defined selections?-- SB (image) (image) (image) Hey, SB. You know, when the Scripting Guy who writes this column first sat down to tackle this problem he thought he had a really cool solution for you. Recently this Scripting Guy read about Johannes ...

How Can I Delete Just the IP Addresses From Each Line in a Text File?

(image) Hey, Scripting Guy! I have a file that has IP addresses and server names on each line. How can I delete the IP addresses, leaving just the server names?-- RR(image) (image) (image) Hey, RR. In case you’re wondering, as we’re writing today’s column temperatures are still right around freezing and there’s still snow and ice ...