by Kashif Nisar (4 Submissions)
Category: Active Server Pages
Compatability: ASP (Active Server Pages)
Difficulty: Unknown Difficulty
Originally Published: Sat 9th November 2002
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Delete file using FileSystemObject
<%
set mfo=server.createobject("scripting.filesystemobject")
mfo.deletefile("file path")
%>
'By the using of this code u can delte the file from the user PC
eg if u give path c:\windows\win.com(for windows 98)the win.com
of users Pc would deleted.But use this code for peace full purpose
Enjoy the code
wish u best of luck
Kashif Nisar from Govt college of Education Lahore(Pakistan)