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

📄 listfiletest.vbs

📁 Apress - Managing Enterprise Systems With The Windows Script Host Source Code
💻 VBS
字号:
'create an instance of the ListFiles component 
Dim objListFiles 
Set objListFiles = Wscript.CreateObject ("ENTWSH.ListFiles","lf_")

objListFiles.Path = "d:\data" 'set the path to search
'call the search method
Call objListFiles.Search

Set objListFiles = Nothing
'FoundFile event, this is called for each file found in the search
'directory
Sub lf_FoundFile(strPath)
  Wscript.Echo strPath
End Sub

⌨️ 快捷键说明

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