最新下载
热门教程
- 1
 - 2
 - 3
 - 4
 - 5
 - 6
 - 7
 - 8
 - 9
 - 10
 
asp fso:只读一行文本
时间:2022-07-02 22:40:17 编辑:袖梨 来源:一聚教程网
asp fso:只读一行文本ReadLine
set t=fs.OpenTextFile("c:test.txt",1,false)
x=t.ReadLine
t.close 
Response.Write("The first line in the file ")
Response.Write("contains this text: " & x)
这样我们就可以只读取一行了喽.下面来看看readall读取全部的内容
dim fs,f,t,x
set fs=Server.CreateObject("Scripting.FileSystemObject") 
set f=fs.CreateTextFile("c:test.txt")
fs.readall;
相关文章
- 过山车之星2游乐园声誉提升方法分享 11-04
 - 过山车之星2独特景点作用介绍说明 11-04
 - 炉石传说标准模式轮盘术卡组推荐分享 11-04
 - 炉石传说标准小行星萨卡组推荐分享 11-04
 - 炉石传说基尔加丹轮盘术卡组推荐分享 11-04
 - 炉石传说宇宙彩虹DK高胜率卡组推荐分享 11-04