programming-examples/asp/More_Code_Snippets/This deletes a file if it exists using the DeleteFile method.asp

6 lines
114 B
Plaintext
Raw Permalink Normal View History

2019-11-18 14:25:58 +01:00
<%
Dim objFSO
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("c:\test.txt")
%>