📄 listfiletest.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 + -