<html>
<script language="JScript">
<!--
var myFileSysObj = new ActiveXObject("Scripting.FileSystemObject");
var myInputTextStream = myFileSysObj.OpenTextFile("c:\\temp\\test.txt", 1, true);
var myOutputTextStream = myFileSysObj.OpenTextFile("c:\\temp\\test2.txt", 2, true);
while(!myInputTextStream.AtEndOfStream){
myOutputTextStream.Write(myInputTextStream.Column + ": ");
myOutputTextStream.WriteLine(myInputTextStream.Read(1));
}
myInputTextStream.Close();
myOutputTextStream.Close();
-->
</script>
</html>
|