Delete File

Results 1 to 2 of 2

Thread: Delete File

  1. #1
    Join Date
    Dec 1969

    Default Delete File

    Can someone give me a code example for deleting a file from a directory

  2. #2
    Join Date
    Dec 1969

    Default RE: Delete File

    Sub DeleteAFile(filespec)<BR> Dim fso<BR> Set fso = CreateObject("Scripting.FileSystemObject")<BR> fso.DeleteFile("c: empa.txt")<BR><BR>set fso = nothing<BR><BR>End Sub<BR><BR>

Posting Permissions

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