Showing results for February 2006 - Page 2 of 4 - Scripting Blog [archived]

Feb 21, 2006
0
0

How Can I Replace a Local File with a Newer Version Found on a File Server?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I compare the modification date of the local file with its counterpart on a file server and then, if the local file is older, replace it with the version on the file server?-- DC Hey, DC. Let’s see, you want to take something old and replace it with something new. For some reason, that sends a shiver up and down our s...

Scripting Guy!VBScriptstorage
Feb 20, 2006
0
0

How Can I List All the Items in the Run Key in the Registry?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I list all the items in the Run key in the registry?-- JW Hey, JW. How can you list all the items in the Run key in the registry? Well, to be honest, we’re not going to tell you. Nope, sorry. Not because we don’t like you, but because we think we have a better answer for you. (If we’re wrong, well, let’s just say it w...

Scripting Guy!VBScriptdesktop management
Feb 17, 2006
0
0

How Can I Specify the Computers a User Can Use to Log On to the Domain?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I configure a user account so that the user can only log on to the domain using specific computers?-- RB Hey, RB. You know, at one point we had some really good solutions for you; unfortunately, Microsoft’s legal department said no to every single one of them. In their view, “We believe most Human Resources department...

Scripting Guy!VBScriptActive Directory
Feb 16, 2006
0
0

How Can I Determine Which Account a Script is Running Under?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I determine which account a script is running under?-- KW Hey, KW. You know, it’s been awhile since we started off a column with a bunch of excuses, and that’s been hard on us: after all, making excuses is what we Scripting Guys do best. With that in mind, then, let’s start off with one of our favorite excuses: the sc...

Scripting Guy!VBScriptoperating system
Feb 15, 2006
0
0

How Can I Determine the Last Row in an Excel Spreadsheet?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I determine the last row in an Excel spreadsheet? I can’t append data to the file unless I know which row to start with.-- TGW Hey, TGW. You know, this is the kind of thing that separates the Scripting Guys from the rest of the world. Most people would do the same thing you’re doing: looking at their spreadsheet and t...

Scripting Guy!VBScriptOffice