fs.bas

来自「Billing Internet Cafe」· BAS 代码 · 共 15 行

BAS
15
字号
Attribute VB_Name = "modFs"
'Returns a boolean - True if the file exists
Public Function FExists(OrigFile As String)
    Dim fs
    Set fs = CreateObject("Scripting.FileSystemObject")
    FExists = fs.fileexists(OrigFile)
End Function
'Returns a boolean - True if the folder exists
Public Function DirExists(OrigFile As String)
    Dim fs
    Set fs = CreateObject("Scripting.FileSystemObject")
    DirExists = fs.folderexists(OrigFile)
End Function

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?