How to delete a file by script?

Seems DzFile does not come with a method "delete()",  so, how can I use script to delete a file? Is there an API for this? 

Thanks.

Comments

  • DZFileInfo, which DzFile inherits from, has remove().

    The documentation should be better, more like the Qt docs and conveniently show the inherited members, but it doesn't.

  • TheMysteryIsThePoint said:

    DZFileInfo, which DzFile inherits from, has remove().

    The documentation should be better, more like the Qt docs and conveniently show the inherited members, but it doesn't.

     How can I miss that, thanks a lot, you save my day!!

Sign In or Register to comment.