Scripting Blog [archived]

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

How Can I Append a Location to the Path Environment Variable?

(image) Hey, Scripting Guy! How can I append a location to the Path environment variable?-- AC(image) (image) (image) Hey, AC. You know, there’s a TV commercial out in which a guy is watching a baseball game when his wife suddenly decides that the two of them should do something else. Talk about a dilemma: after all, according to the ...

How Can Tell Whether the NumLock Key is On or Off?

(image) Hey, Scripting Guy! How can I tell whether the NumLock key on a computer is on or off?-- KA(image) (image) (image) Hey, KA. You know, there are two problems with being a Scripting Guy. (Three, if you count the amount we get paid for doing this.) For one thing, you always have to be on your guard whenever Dean is around. Why? Well, ...

How Can I Write a Script That Prevents the Screensaver from Starting?

(image) Hey, Scripting Guy! How can I write a script that prevents the screensaver from coming on? Sometimes I get interrupted for a couple minutes (say I get a phone call or something) and the screensaver kicks in, which promptly locks the computer. Is there a way to keep that from happening?-- SS(image) (image) (image) Hey, SS. We hope ...

How Can I Return the URLs Associated with My Internet Explorer Favorites?

(image) Hey, Scripting Guy! How can I return the URLs associated with my Internet Explorer Favorites?-- DW(image) (image) (image) Hey, DW. It’s time for annual performance reviews here at Microsoft, which means we Scripting Guys are supposed to be looking back and detailing all the many things we’ve done in the past year. Unfortunately...

How Can I Configure the System Failure Options on a Windows Server 2003 Computer?

(image) Hey, Scripting Guy! How can I configure the system failure options on a Windows Server 2003 computer? I’d like to configure the machine to do a small memory dump, and disable both the sending of an administrative alert and the automatic reboot.-- JS(image) (image) (image) Hey, JS. You know, the Scripting Guys happen to all be in ...