Description
- Completely deletes a file or group of files, bypassing the recycle bin.
Syntax
- File.DeleteNoRecycle(filepath)
Parameters
- filepath
- (string) path to the file to delete
- Use wildcards to define a group of files.
Examples
- File.DeleteNoRecycle(?"c:\temp\large.tmp")
- Deletes the file "large.tmp" in "c:\temp" without putting it in the recycle bin.
- File.DeleteNoRecycle(?"c:\temp\*.tmp")
- Deletes all .tmp files in "c:\temp" without putting them in the recycle bin.