Showing tag results for text files

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

How Can I Replace Single Quote Marks in a Text File?

ScriptingGuy1

Hey, Scripting Guy! I saw your column on replacing text in a text file, and that’s almost the solution I’m looking for. However, the text I need to replace is the single quote mark, and I can’t figure out how to do that. How do I replace single quote marks in a text file?-- JB Hey, JB. You know, this is shaping up to be another very hectic day f...

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

How Can I Replace the First Five Characters in a Text File With the First Five Characters in the Computer Name?

ScriptingGuy1

Hey, Scripting Guy! How can I open a text file and replace the first 5 characters with the first 5 characters of the local computer name?-- EC Hey, EC. You know, you might find this hard to believe (his fellow Scripting Guys absolutely refuse to believe it), but sometimes the Scripting Guy who writes this column is all talk and no action. For ex...

Scripting Guy!scripting techniquesVBScript