Delete Folder
The Delete Folder object deletes a
folder, sub-folders, or the entire folder tree of a directory on
the local file system or a network location specified using a UNC
path.
Note: This object replaces the
Delete
Folder Legacy object. For more information, see the
Legacy topic.
How it is used
Use the Delete Folder object to
delete temporary folders that were created during the execution of
a Policy or use it to purge data that has been recently
archived.
Configuration
To configure the Delete Folder
object you need to know the name of the folder that you are
targeting and whether you want to delete the entire tree, the
sub-folders only, or just the directory itself.
Details Tab
Path
|
Type the path of the folder
that you are targeting.
|
Delete the folder only if it is
empty
|
Select this option to delete
the folder only if there are no files or sub-folders in it.
|
Delete all files and
sub-folders
|
Select this option to delete
the specified folder and all sub-folders and files contained in
that folder.
|
Available Published Data
Name
|
Description
|
Folder path
|
The path of the folder that was
deleted.
|
Folder pattern to match
|
The pattern used to find the
sub-folder that was deleted.
|
Base Folder to start deletion
from
|
The Path that was specified on the
Details
tab.
|
Delete folder options
|
The option that you selected
for the delete folder operation.
|
Name and path of the
folder
|
The name and path of the folder
that was deleted.
|