Scripting School: Writing output to a text file |
 |
By Christa Anderson, Contributor
12 Dec 2005 | SearchWinSystems.com |
 |


|
By writing the output of your scripts to a file, you can preserve important output instead of just echoing to the screen. You can display hard-coded text and variable values or you can even operate on variables and show the results in the text file.
And, of course, you can time-stamp the text file to show when you created it.

Scripting School: Writing output to a text file

Introduction
Writing output to a file
Using saved output
Summary
Read all of Christa's scripting columns:
April 2005: Beginner's guide to scripting
May 2005: It's time to increase your scripting expertise
June 2005: Connect users to network resources
July 2005: More on connecting to network resources
August 2005: Find objects with Windows Scripting Host
September 2005: Windows Script Host arguments
October 2005: Scripting School: Turning the environment with WshShell
November 2005: Scripting School: Connect scripts to remote computers
| ABOUT THE AUTHOR: |
|
Christa Anderson A Terminal Services MVP, Christa Anderson is the
strategic technology manager for visionapp She formerly was program manager for the Microsoft Terminal Services team. She is an
internationally known authority on scripting, the author of Windows Terminal Services, The Definitive Guide to MetaFrame
XP, and co-author of the book Mastering Windows 2003 Server. If you have a scripting question for Christa, please e-mail her at editor@SearchWincomputing.com. She often uses these emails as fodder for her scripting columns.
|
|
');
// -->
|
 |
|
 |