vbs代码:
Dim fso,f,a
Set fso = CreateObject("Scripting.FileSystemObject")
Set f=fso.OpenTextFile("D:\test.txt",1)
DO While f.AtEndOfStream <> True
a=f.ReadLine msgbox a
loop
test.txt内容
10899
2022-11-14 16:25:35
vbs代码:
Dim fso,f,a
Set fso = CreateObject("Scripting.FileSystemObject")
Set f=fso.OpenTextFile("D:\test.txt",1)
DO While f.AtEndOfStream <> True
a=f.ReadLine msgbox a
loop
test.txt内容
10899