当前位置 博文首页 > 用vbs实现读取文本文件的方法

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

    作者:admin 时间:2021-06-17 18:27

    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 js