Showing archive results for 2006

Feb 24, 2006
Post comments count0
Post likes count0

How Can I Prevent a Computer from Using the LMHosts File?

ScriptingGuy1

Hey, Scripting Guy! How can I prevent a computer from using the LMHosts file?-- MJ Hey, MJ. You know, this was an interesting one, at least for the Scripting Guys. Not because the script was hard to write; that was actually pretty easy. What was hard - at least for us - was to find the LMHosts setting in the Windows GUI; that’s something we need...

Scripting Guy!VBScriptnetworking
Feb 23, 2006
Post comments count0
Post likes count0

How Can I Format an Excel Spreadsheet So It Retains Leading Zeroes?

ScriptingGuy1

Hey, Scripting Guy! How can I format an Excel spreadsheet so that it retains leading zeroes?-- AS Hey, AS. You know, one of the Scripting Guys still has nightmares about the number zero. Several years ago he got a phone call from a friend of his wondering if he’d be interested in helping coach a youth league basketball team (10- and 11-year-olds...

Scripting Guy!VBScriptOffice
Feb 22, 2006
Post comments count0
Post likes count0

How Can I Truncate Names to a Maximum of 16 Characters?

ScriptingGuy1

Hey, Scripting Guy! How can I truncate names to a maximum of 16 characters?-- BN Hey, BN. Brace yourself: it’s time for another trip down memory lane. When one of the Scripting Guys was going to college, he took a temporary summer job with the Green Giant Corporation, working in the office that oversaw the asparagus harvest in eastern Washington...

Scripting Guy!scripting techniquesVBScript
Feb 21, 2006
Post comments count0
Post likes count0

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

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
Post comments count0
Post likes count0

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

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