Showing archive results for 2007

May 24, 2007
Post comments count0
Post likes count0

How Can I Compare the Contents of Two Text Files?

ScriptingGuy1

Hey, Scripting Guy! I have two separate text files. One file contains a list of MAC addresses taken from a network scan; the other contains a list of MAC addresses for our currently-managed devices. How can I compare these two files, and output a list of addresses that have no corresponding device to a third text file?-- SR Hey, SR. You know, l...

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

How Can I Save Each Paragraph in a Word Document as a Database Record?

ScriptingGuy1

Hey, Scripting Guy! A few days ago you showed us how to open a bunch of text files and save the data in each file as a record in a database. I have a similar question, except that I want to save each paragraph in a Word document as a database record. How can I do that?-- HY Hey, HY. Before we tackle today’s question we know a lot of you are con...

Scripting Guy!VBScriptOffice
May 22, 2007
Post comments count0
Post likes count0

How Can I Monitor the Number of Files in a Folder?

ScriptingGuy1

Hey, Scripting Guy! We have a third-party application that rarely crashes; however, when it does crash it seriously disrupts our business. We can always tell when the application is getting ready to crash; at that point, one of its directories starts filling up with log files. How can we be notified any time the number of log files in this folder...

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

How Can I Add the Contents of a Group of Text Files to an Access Database?

ScriptingGuy1

Hey, Scripting Guy! I have a folder that has hundreds of text files in it. I’d like to take each of those files and add the contents (as a memo field) to an Access database. How can I do that?-- KB Hey, KB. You know, a few years ago the Scripting Guy who writes this column gave a talk at a conference in Orlando. (And yes, he’ll be back in Orland...

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

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

ScriptingGuy1

Hey, Scripting Guy! In yesterday’s column you showed us how to search for phone numbers in a text file; you also promised us that in today’s column you’d show us how to modify that script so that it can search through all the text files in a folder. Are you still going to do that?-- SE Hey, SE. Yes, we’re going to – wait a second. SE? Interestin...

Scripting Guy!scripting techniquesVBScript