VBS READLINE 怎么判断读到文件末尾了

Set Fsys=CreateObject("Scripting.FileSystemObject")
set fso=Fsys.opentextfile("C:/Documents and Settings/Administrator/桌面/所有内容.txt",1)
do while fso.atendofstream<>true
txt = fso.readline
msgbox txt
set fso = nothing

你可能感兴趣的:(c)