Parent Previous Next


Deletes the directory. Returns true if the directory existed and was deleted. Otherwise returns false.


 @DirDelete(String path) : Boolean


A delete operation makes an implicit recursive deletion of any directories or files within.

WARNING: Please take care not to delete content which is hold up by other applications or is set as the current directory, or else the function may not provide the expected results.



 //Avoid potential conflict


 //Make deletion

 String dir := "c:\test1\test2\test3";

 Boolean deleted := @DirDelete(dir);