Showing archive results for 2007

Apr 26, 2007
Post comments count0
Post likes count0

How Can I Start a Process and Then Log the User Off When That Process Ends?

ScriptingGuy1

Hey, Scripting Guy! How can I write a script that starts a process, waits until that process ends, and then logs the user off the computer?-- AG Hey, AG. You know, the Scripting Guy who writes this column is never one to brag, mainly because he never has much of anything to brag about. In addition tot that, however, he is a humble and modest sor...

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

How Can I Sort a Row in an Excel Spreadsheet?

ScriptingGuy1

Hey, Scripting Guy! How can I sort a row in an Excel spreadsheet?-- RF Hey, RF. You know, this is a tough question, but as a resident of the state of Washington the Scripting Guy who writes this column doesn’t shy away from a challenge. Therefore, he fully intends to address this matter … in the year 2013. In case you’re wondering about that, a ...

Scripting Guy!VBScriptOffice
Apr 24, 2007
Post comments count0
Post likes count0

How Can I Get the Command Window to Stay Open When I Right-Click a Script and Choose Open With Command Prompt?

ScriptingGuy1

Hey, Scripting Guy! How can I get the command window to stay open when I right-click a .VBS file and choose Open With Command Prompt??-- BB Hey, BB. You know, according to BB’s email signature, he’s 9 years old. If that’s true, well, that’s absolutely amazing. A 9-year-old who knows VBScript? At age 9 the Scripting Guys could barely feed themsel...

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
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

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