Hello,
I have a little problem and hope that one can help me! I would like to delete a previously created folder after installation of the setup which unfortunately does not succeed!
Folder.DeleteTree ("C:\\my folder", nil);
Folder.Delete ("C:\\my folder");
1. DeleteTree deletes the contents but not the folder itself!
2. Delete does not even delete the empty folder!
What am I doing wrong or how the command would be "my folder" deleted?
For the trouble I thank in advance
kampen
I have a little problem and hope that one can help me! I would like to delete a previously created folder after installation of the setup which unfortunately does not succeed!
Folder.DeleteTree ("C:\\my folder", nil);
Folder.Delete ("C:\\my folder");
1. DeleteTree deletes the contents but not the folder itself!
2. Delete does not even delete the empty folder!
What am I doing wrong or how the command would be "my folder" deleted?
For the trouble I thank in advance
kampen
Comment