Home >>
Text Files >>
Remove a Directory
This chunk of code simply shows how to detect if a local directory exists, and if so, delete it. The scripts ensure that the folder exists, but does not make sure it is empty; if files are still in the directory, it will not work.