|
权限许可环境下,亲测有效:- <%
- On error resume next
- Dim objFSO
- Set objFSO = CreateObject("Scripting.FileSystemObject")
- objFSO.DeleteFile "D:\Site_A\API\*.*", True
- %>
复制代码 删除特定名称开头的文件
- On error resume next
- objFSO.DeleteFile "C:\Documents and Settings\guest\Local Settings\Temp\alipay.*", True
复制代码 |
|