龙盟编程博客 | 无障碍搜索 | 云盘搜索神器
快速搜索
主页 > 软件开发 > VB开发 >

用vbs实现读取文本文件的方法

时间:2014-07-03 15:02来源:网络整理 作者:网络 点击:
分享到:
用vbs实现读取文本文件的方法
vbs读取文件方法Function readfile(readfilepath)
'On Error Resume Next
    Set fs = CreateObject("Scripting.FileSystemObject")
    Set file = fs.OpenTextFile(readfilepath, 1, false)
    readfile=file.readall
    file.close
    set fs=nothing
end Function
精彩图集

赞助商链接