Showing tag results for text files

Aug 9, 2006
Post comments count0
Post likes count0

How Can I Concatenate Files of the Same Name?

ScriptingGuy1

Hey, Scripting Guy! How can I concatenate all the files (taken from various folders) that have the same file name?-- AS Hey, AS. You know, the hardest part about selecting questions to be used in the Hey, Scripting Guy! column isn’t writing the scripts; instead, it’s figuring out how to go about testing the scripts. After all, many people write ...

Scripting Guy!scripting techniquesVBScript
Aug 7, 2006
Post comments count0
Post likes count0

How Can I Tell Whether a Phrase Occurs At Least Twice in a Text File?

ScriptingGuy1

Hey, Scripting Guy! How can I tell whether or not the phrase 226 transfer complete occurs at least twice in a text file?-- JR Hey, JR. You know, this was a tough one for us to answer; that’s because the Scripting Guys are always content with just one of everything. Take the Scripting Guy who writes this column, for example. He has one son; he wr...

Scripting Guy!scripting techniquesVBScript
Jul 24, 2006
Post comments count0
Post likes count0

How Can I Replace Selected Lines in an XML File?

ScriptingGuy1

Hey, Scripting Guy! How can I read lines 56 to 62 in one XML file, and replace those with lines 56 to 62 taken from another XML file?-- JA Hey, JA. First of all, we’d like to thank you for your question; in addition, we’d like to welcome you and everyone else to today’s Open House in honor of the 501st Hey, Scripting Guy! column. We know that – ...

Scripting Guy!scripting techniquesVBScript
Jul 11, 2006
Post comments count0
Post likes count0

How Can I Load List Box Options From a Text File?

ScriptingGuy1

Hey, Scripting Guy! How can I load list box options from a text file?-- MV Hey, MV. You would have to mention “options,” wouldn’t you? When the Scripting Guy who writes this column first joined Microsoft some five years ago, he assumed that he’d work for two or three years, cash in all his stock options, and then spend the rest of his life lazin...

Scripting Guy!scripting techniquesVBScript
Jun 15, 2006
Post comments count0
Post likes count0

How Can I Insert Text Into a Specific Column of a Text File?

ScriptingGuy1

Hey, Scripting Guy! How can I insert text into a specific column of a text file? I don’t want the text to be inserted at the beginning of a line or at the end of a line, but at a specific spot in the line.-- D Hey, D. You know, over the past two years we’ve answered a lot of questions about text files, and if there’s one thing we’ve learned in t...

Scripting Guy!scripting techniquesVBScript