第1个回答 2010-11-21
Const ForReading = 1
Const ForWritting = 2
Set FSO = CreateObject("Scripting.FileSystemObject")
Set f1 = FSO.OpenTextFile("F:\ANSI.txt", ForReading, False)
Set f2 = FSO.OpenTextFile("F:\Unicode.txt", ForWritting, True, -1)
f2.Write f1.ReadAll
f1.Close
f2.Close