逐行读取中如何不显示每行前五位
下面只能逐行读取显示每行全部
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile("d:\1\1.txt", 1)
Do Until objFile.AtEndOfStream
strLine = objFile.ReadLine
Wscript.Echo strLine
Loop
objFile.Close
[ Last edited by yywd on 2008-6-7 at 10:05 PM ]
下面只能逐行读取显示每行全部
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile("d:\1\1.txt", 1)
Do Until objFile.AtEndOfStream
strLine = objFile.ReadLine
Wscript.Echo strLine
Loop
objFile.Close
[ Last edited by yywd on 2008-6-7 at 10:05 PM ]
