Online Manual: "User Management Resource Adminstrator"
Go to: User Management Resource Administrator homepage
Script Action: Delete file(s)
Function
Deletes the specified file or files. The file name specification can
include wildcards (* or ?).
Deployment
This script action is typically used
as part of a cleanup action (e.g. deleting temporary files or deleting
files from a user profile directory).
Properties
|
Property Name |
Description |
Typical setting |
Remarks |
|
File path |
The full path of the fille(s). The path should
start with a logical drive (e.g. G:\) or share name \\<Computer>\<Share>.
The path name may contain the wildcard characters * and ?. |
|
|
|
Include subdirectories (recursive) |
If this property is set to "Yes",
all files in the child subdirectories of <File path> will be deleted
as well. |
No |
|
|
Use backup and restore privileges |
A flag indicating that backup and restore
priviliges must be used to delete the files. This property is required
in case the logged on user has no access rights for the directories and
files that must be deleted. If this option is set to "Yes",
the logged on account must have rights for "Restore files and directories"
and "Back up files and directories" in the local policy. |
No |
Only needs to be set to "Yes" if
currently logged on user does not have sufficient rights to delete the
specified filles. |
|
Ignore error |
|
No |
|
Backup and restore priviliges
In Windows NT/2000/XP you
must have Backup and Restore privileges to delete the required files.
Add backup and restore privileges. If you use a local system account to
delete files, this account should have the necessary privileges for deleting
files or this script action will fail.
To check an account's privilege , you can:
1 . Click " Start->Control Panel->Administrative
Tools->Domain Security Policy".
2 . Expand the Local Policies folder. Select User
Rights Assigment .
3 . The user account should be specified under the policies "Restore
files and directories" and "Back up files and directories".
See also:
Script
Action: Delete directory
|