Scripting Blog [archived]

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

How Can I Change the IP Address Assigned to a Computer?

(image) Hey, Scripting Guy! How can I change the IP address assigned to a computer?-- RW(image) (image) (image) Hey, RW. To tell you the truth, this is a very difficult question for the Scripting Guys to answer. Not because this is a hard script to write; as you’ll see in a minute, it’s actually pretty easy. No, this is hard for the ...

How Can I Determine the Default Script Host on a Computer Before I Run a Script?

(image) Hey, Scripting Guy! I know that when I run a script I can use code to determine whether the script is running under WScript or CScript. What I can’t figure out is this: how can I determine the default script host on a computer before I run a script?-- AT(image) (image) (image) Hey, AT. You know, it’s not very often that people ...