Showing tag results for scripting techniques

Jan 2, 2007
Post comments count0
Post likes count0

How Can I Append a Blank Line to a Text File, Then Append the Current Date and Time?

ScriptingGuy1

Hey, Scripting Guy! How can I append a blank line to a text file, then append the current date and time?-- PL Hey, PL. You know, back in the 1600s people were inordinately worried about witches and witchcraft. Fortunately, though, they developed a sure-fire test to determine whether or not someone was a witch: the accused was weighted down with ...

Scripting Guy!scripting techniquesVBScript
Dec 8, 2006
Post comments count0
Post likes count0

How Can I Start a Process and Then Wait For the Process to End Before Terminating the Script?

ScriptingGuy1

Hey, Scripting Guy! How can I start a process and then wait until that process quits before terminating the script?-- FG Hey, FG. Before we answer your question, the Scripting Guy who writes this column has a confession to make: he’s the one who ruined Christmas for everyone. Not that he meant to, mind you, but that doesn’t matter; all that matter...

Scripting Guy!scripting techniquesVBScript
Dec 6, 2006
Post comments count0
Post likes count0

How Can I Determine the OU the Local Computer Belongs To?

ScriptingGuy1

Hey, Scripting Guy! In a logon script, which attribute do I use to determine the OU that the local computer belongs to?-- JP Hey, JP. Most people are familiar with Cupid, the Roman god of love. In fact, you’d be hard-pressed to find anyone who doesn’t know that Cupid carries with him a quiver of gold-tipped arrows. Get struck by one of Cupid’s arr...

Scripting Guy!scripting techniquesVBScript
Dec 4, 2006
Post comments count0
Post likes count0

How Can I Expand the Width of the Windows PowerShell Console?

ScriptingGuy1

Hey, Scripting Guy! How can I expand the width of the Windows PowerShell console? When I display certain kinds of data – like information from the event logs – that data gets cut off because the console window isn’t wide enough.-- TB Hey, TB. Wow, what a coincidence: we were just about to ask you that very same question! Now what do we do? No, jus...

Scripting Guy!Windows PowerShellscripting techniques
Nov 30, 2006
Post comments count0
Post likes count0

How Can I Read the Individual Lines in a Multi-Line Text Box in a HTA?

ScriptingGuy1

Hey, Scripting Guy! In an HTA, how can I read the individual lines in a multi-line text box?-- KM Hey, KM. You know, to be perfectly honest the Scripting Guy who writes this column has always had a grudging admiration for people who do totally ridiculous things and yet somehow manage to get away with them. For example, in the past couple weeks a l...

Scripting Guy!scripting techniquesVBScript