Announcement

Collapse
No announcement yet.

Deleting a file with EFS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Deleting a file with EFS

    Is there anyway to delete a file with EFS? I'm creating a file perfectly using filename.open(), filename.writeln(), etc ... but now I want to delete the file.

    If there's not a way to delete the file, is there at least a way to delete all the contents of the file?

    I just can't append to the file forever ... and I don't want to make a new file with a different name each time I want to 'reset' my file contents.

    Thanks,
    beaker

  • #2
    I don't see that there is a way (I'm not 100% on this, but fairly certain.) If you don't hear back to the contrary on this, I would suggest shooting a suggestion over to our Product Development Team to add this feature.
    Regards,
    Jay F.
    Product Manager
    _____________________________________
    Have a suggestion to improve our products?
    Click Support --> Request a Feature in eSignal 11

    Comment


    • #3
      Beaker:

      Maybe I'm missing something but you can always open the file with "wt" and if that file exists it will be reset and the contents overwritten. As far as I know, there is no way to delete a file in EFS.

      Chris

      Comment


      • #4
        Chris,

        Thanks .... no, you weren't missing anything, I was. I didn't realize that "wt" did that.

        Thanks,
        beaker

        Comment

        Working...
        X