Showing archive results for 2007

May 17, 2007
Post comments count0
Post likes count0

How Can I Search For Phone Numbers in a Text File?

ScriptingGuy1

Hey, Scripting Guy! I have a bunch of text files, one for each of our employees. Included in these text files are phone numbers: work phone, home phone, cell phone, etc. How can I write a script that searches for and extracts the phone numbers from these text files?-- MN Hey, MN. You know, many years ago the Scripting Guy who writes this column ...

Scripting Guy!scripting techniquesVBScript
May 16, 2007
Post comments count0
Post likes count0

How Can I Force All the Users in an OU to Change Their Password the Next Time They Log On?

ScriptingGuy1

Hey, Scripting Guy! How can I write a script that will force all the users in an OU to change their password the next time they log on?-- TH Hey, TH. You know, you picked a bad day to ask a question; the Scripting Guy who writes this column is in an even worse mood than usual (difficult as that might be to believe). A few weeks ago the Scripting...

Scripting Guy!VBScriptActive Directory
May 15, 2007
Post comments count0
Post likes count0

How Can I Copy the Same File to a Number of Different Computers?

ScriptingGuy1

Hey, Scripting Guy! I regularly update a file that needs to be copied to all of my servers. How can I write a script that will copy the same file (to the same folder) on multiple computers?-- JU Hey, JU. It’s Monday, May 14th as we write this column, which mean that Mother’s Day in the US is over. And that’s good. Not that the Scripting Guys hav...

Scripting Guy!VBScriptstorage
May 14, 2007
Post comments count0
Post likes count0

How Can I Dynamically Hide and Show a Control in an HTA?

ScriptingGuy1

Hey, Scripting Guy! How can I dynamically hide and show a control in an HTA?-- R L-K Hey, R L-K. To tell you the truth, we’re a little distracted today. Admittedly, we’re a little distracted pretty much every day. However, today is different: today the Scripting Guy who writes this column in sitting on a powder keg that threatens to destroy the ...

Scripting Guy!scripting techniquesVBScript
May 11, 2007
Post comments count0
Post likes count0

How Can I Highlight a Keyword in an HTA?

ScriptingGuy1

Hey, Scripting Guy! I’d like to create an HTA that, upon loading, can open a text file and then display the contents. However, I’d like a particular keyword in those contents to be highlighted. How can I do that?-- GD Hey, GD. You know, a lot of people at Microsoft pooh-pooh the work that the Scripting Guys do. “Take that Hey, Scripting Guy! col...

Scripting Guy!scripting techniquesVBScript