DELETE FOLDER

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 6.7


DELETE FOLDER (folder)

ParameterTypeDescription
folderStringName or full path of the folder to be deleted

Description

The DELETE FOLDER command deletes the folder whose name or full path has been passed in folder.

Only empty folders can be deleted by this command.

If you try to delete a folder containing files, the -47 error is generated (Attempt to delete a non-empty folder).

If you pass in folder a file path or an empty string or the path to a non-existing folder, the command does nothing and generates a -43 error (File not found).

You can detect these errors through a method installed by the ON ERR CALL command.

See Also

DELETE DOCUMENT.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next