Delete directory

⌘K

This activity deletes the specified directory and, if indicated, any subdirectories and files in the directory.

delete_directory_1

The path parameter is not case-sensitive.

If Remove subdirectories and files is set to Yes, the user must have write permission for the current directory as well as for all subdirectories.

The behavior of this method differs slightly when deleting a directory that contains a reparse point, such as a symbolic link or a mount point. If the reparse point is a directory, such as a mount point, it is unmounted, and the mount point is deleted. This method does not recurse through the reparse point. If the reparse point is a symbolic link to a file, the reparse point is deleted, not the target of the symbolic link.

SharePoint Workflow Designer Phrase

Delete the specified path directory. Remove subdirectories and file: No

Parameters

ParameterDescription
the specified pathThe directory path to delete.
Remove subdirectories and filesYes to remove directories, subdirectories, and files in the path; otherwise, No.

How can we help?