19. Files (walkfiletree (delete multiple directories))

Files(walkfiletree(delete multiple directories))

Question: If we want to delete a directory, but this directory is not empty, then it cannot be deleted

Thought: Let’s go in and delete the files in the directory for him first, and then delete the directory when we leave the directory.

 

solve:

 

Delete the library and run away

 

Guess you like

Origin blog.csdn.net/logtcm4/article/details/127803953