Showing tag results for scripting techniques

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

How Can I Write a Script That Increments a Counter Each Time a Log File is Updated?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I write a script that increments a counter each time a particular log file gets updated?-- HJ Hey, HJ. You know, lately the Scripting Guy who writes this column has been victimized by a disturbing phenomenon: he keeps getting phone calls from machines. For the past several nights the phone has rung in the Scripting Ho...

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

How Can I Tell Which Version of QuickTime is Installed on a Computer?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I tell whether or not QuickTime is installed on a computer, and, if so, which version is installed?-- IU Hey, IU. You know, for some reason this column suddenly seems to have become a daily dancing column rather than a daily scripting column. After all, just yesterday we recapped the Scripting Son’s … dancing … exploi...

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

How Can I Read the Contents of a Text File and Then Declare the Contents as Variables?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I read the contents of a text file, and then declare those contents as variables?-- TC Hey, TC. Before we begin, did you really ask us this question? We’re positive that you did, but, the way things have been going lately, we can’t be too sure. For example, by now everyone has heard that Scripting Guy Jean Ross went d...

Scripting Guy!scripting techniquesVBScript
Mar 30, 2007
Post comments count0
Post likes count0

How Can I Locate a Word in a Text File and Then Echo Back That Word and Any Remaining Text?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I search for a word in a text file and then, after I find it, echo back that word and any remaining text in the text file?-- KA Hey, KA. Before we begin we’d like to thank the hundreds and hundreds of people who have sent Scripting Guy Jean Ross get well wishes after her unfortunate mishap at Microsoft Management Summ...

Scripting Guy!scripting techniquesVBScript