xixiyang80 当前离线
列兵
评分人数
CrLf 当前离线
论坛巡查
on error resume next set fso = CreateObject("scripting.filesystemobject") set ts = fso.opentextfile("d:\1.txt") str = "" do until ts.atendofstream for i=1 to 99 ts.skipline next str = str & ts.readline & vbcrlf loop ts.close msgbox str复制代码
TOP
dim title,y title = CreateObject("scripting.filesystemobject").opentextfile("d:1.txt").readall y=split(title,vbcrlf) stepnum=100 str = "" for i=stepnum-1 to ubound(y) step stepnum str = str & y(i) & vbcrlf next msgbox str复制代码