Re: script out to text file

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: GoGoGadgetScott (gogogadgetscott_at_hotmail.com)
Date: 05/27/04


Date: Thu, 27 May 2004 16:08:44 -0400

You can find a custom class to output string to a text file at
http://gogogadgetscott.info/computers/scripts/testclass.php

Usage:
' Create ntencses of class
Set Out = New cOutput
' Send your data
Out.WriteLine "data"
' View the file
Out.View
' Clean up
Set Out = Nothing

On Thu, 27 May 2004 18:27:57 +0400, Viatcheslav V. Vassiliev
<msnewsgroup@www-sharp.com> wrote:

> The easist way is run script as
>
> cscript.exe c:\yourscript.vbs > c:\output.txt
>
> Another way is to write script that outputs into the file - look at
> FileSystemObject in MSDN to see how to do this.
>
> //------------------------------------
> Regards,
> Vassiliev V. V.
> http://www-sharp.com -
> Scripting/HTA/.Net Framework IDE
>
> "user" <user@user.com> сообщил/сообщила в новостях следующее:
> news:uEeEm8%23QEHA.3744@TK2MSFTNGP10.phx.gbl...
>> I have vbs script and I need the output go into text file? Currently,
> when
>> i run the vbs script, output comes on the screen...How can i get the
> output
>> on text file?
>>
>> Thanks
>>
>>
>
>

-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/