comp • gb.util • shell • rmdir

Shell.RmDir (gb.util)

Static Sub RmDir ( Path As String [ , Force As Boolean ] )

Remove a directory by removing its contents recursively.

  • Path : The path of the directory to remove.

  • Force : Don't check the Path argument.

If Force is not set, then trying to remove the following directories raise en error.

  • The user home directory.

  • The root directory.

  • Any directory under the root directory (/home, /usr, /etc...).