Home All Groups Group Topic Archive Search About

Change encoding of text file made par vbs script



Author
19 Nov 2007 7:57 PM
hasdou
hi, i made a script that make an ouput text file (let's call it file.txt) :

Set objOutputFile = objFileSystem.CreateTextFile("C:\file.txt")

The final text is encoded ANSI and I need it to be rtf.

How can I make it possible ?

10x for helping :)

Author
20 Nov 2007 3:46 AM
Kai.Bluesky
Dear,

Hope it may help.
http://www.devx.com/asp/Article/17964/0/page/2

Best Regards,
Kai

On Nov 20, 3:57 am, hasdou <has***@discussions.microsoft.com> wrote:
Show quote
> hi, i made a script that make an ouput text file (let's call it file.txt) :
>
> Set objOutputFile = objFileSystem.CreateTextFile("C:\file.txt")
>
> The final text is encoded ANSI and I need it to be rtf.
>
> How can I make it possible ?
>
> 10x for helping :)

AddThis Social Bookmark Button