⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 searchfolderfiles.txt

📁 一部分关于VB编程的小技巧
💻 TXT
字号:
    Dim FSO, f, fc, fj, s, f1
    Dim sFolder As String
    
 	sFolder = "C:\mydir\"           'makesure there is a ending slash
    
    Set FSO = CreateObject("Scripting.FileSystemObject")
    Set f = FSO.GetFolder(sFolder)
    Set fc = f.SubFolders
    Set fj = f.Files
    

    For Each f1 In fj
        s = sFolder & f1.Name
        's is the currect file
    Next

⌨️ 快捷键说明

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