Delete directory recursively
Hi,
how can I delete a directory recursively?
with session.executeCommand("RD ....") I cant't delete folders that are not empty.
is the only possibility wirting a recursive function that removes all files and then deleting directories?
Thank you,
Oli
how can I delete a directory recursively?
with session.executeCommand("RD ....") I cant't delete folders that are not empty.
is the only possibility wirting a recursive function that removes all files and then deleting directories?
Thank you,
Oli