|
Here's how I do it.
Const ForAppending = 8
Dim fso, f Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.OpenTextFile("C:\ScriptLogs\ScriptAlert.txt", ForAppending, True) . . ' steps
.
strErrorTxt =
strToEmail & " " & strScriptName & " " & Err & " " &
Err.Description & strErrorTxt & " " & Now()
f.WriteLine strErrorTxt .
.
.
f.Close 'close file when script has completed Michelle
617-665-3432
|
Title: Message
- [Talk] Appending to an output file Ross Stolle
- RE: [Talk] Appending to an output file Linda Ralston
- RE: [Talk] Appending to an output file Barker-Lacerda , Michelle
- RE: [Talk] Appending to an output file Barry Rudd
- RE: [Talk] Appending to an output file Ross Stolle
- RE: [Talk] Appending to an output file Angela LaVasser
- RE: [Talk] Appending to an output file Angela LaVasser
- [Talk] Appending to an output file David Shelby
- RE: [Talk] Appending to an output file David Shelby
- RE: [Talk] Appending to an output file David Shelby
