io » deleteFiles(location,recursive)
Description
This command will be useful to delete files from specified location.The recursive can be set to true if there are recursive occurrence with the same file name.
Parameters
- location - the full path of the folder/directory from where files need to be deleted
- recursive -
true
means to delete all the files and subdirectories oflocation
Example
Script:
Output: