programming-examples/asp/More_Code_Snippets/This deletes a file if it exists using the DeleteFile method.asp
2019-11-18 14:25:58 +01:00

6 lines
114 B
Plaintext

<%
Dim objFSO
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("c:\test.txt")
%>