Deleting Files

Results 1 to 2 of 2

Thread: Deleting Files

  1. #1
    Join Date
    Dec 1969

    Default Deleting Files

    Ok, i can creat files write to files. but how do i delete a file. <BR>here is what i got Please help Thanks<BR>&#060;%<BR>set scriptobject = server.createobject("scripting.filesystemobject")< BR>set myfile=myfileobject.deletefile(request.form("name" ))<BR>myfileobject.deletefile(request.form("name") )<BR>%&#062;<BR>Anthony<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Deleting Files

    To delete a file, use the DeleteFile method of the FileSystemObject.<BR><BR>See:<BR><BR>Note: the IUSR_machinename account must have delete permissions on the directory that you are trying to delete files from...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts