Delete Files & Folders
Deletes specified files and folders.
Description
Optionally, you may add comments here describing the purpose of this element.
Path
Choose a path for the deletion of files or folders.
APPLICATION DATA PATH - Program subfolder in Application Data folder.
CDROM PATH - CD or DVD drive.
CUSTOM PATH - The path must be defined in the filename control.
INSTALL PATH - Default installation path.
SETUP FILE PATH - The path to where setup executable file is running.
SYSTEM PATH - Windows system directory.
TEMPORARY PATH - The temporary folder of the installation #tempinstpath#. It is a subfolder genteeXX in the default temporary user's folder #temppath#.
WINDOWS PATH - Windows directory.
Filename or Wildcard
You may specify a name or wildcard for files or directories to be deleted . You should to specify a full path if you selected CUSTOM PATH.
*.* myfolder\*.dat
Recursive Search
Checked => Enables recursive search in all subdirectories.
Only Search for Files
Checked => Uses only the specified wildcard to search and delete files.
Delete Readonly Files
Checked => Deletes files with the 'Read Only' attribute.
If Condition
You can specify a condition that should be met for the action to be performed. If the condition is false then the command is skipped. See How to use If Condition for more details.
Delete Files & Folders command