Results 1 to 2 of 2

Thread: Deleting file in string w. FSO

  1. #1

    Thread Starter
    Lively Member PatOls's Avatar
    Join Date
    Oct 2000
    Posts
    99

    Cool

    Code:
    Dim fso, fDelete
    Set fso = CreateObject("Scripting.FileSystemObject")
    Set fDelete = fso.DeleteFile(strUser)
    I tried deleteing the file in strUser but it wont delete it, (the file is correctly formatted) - am I doing it all wrong or is at all possible?

    /Patrick

  2. #2

    Thread Starter
    Lively Member PatOls's Avatar
    Join Date
    Oct 2000
    Posts
    99

    Sorry about that....

    I have a serious brain-damage

    (you just need to lose the SET statement!)

    /Patrick

Posting Permissions

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



Click Here to Expand Forum to Full Width