ASP Delete Method
The ASP File.Delete Method is used to delete a particular file or folder from a system.
- force: It is an optional attribute. It contains a Boolean value which indicates that whether a read-only file will be deleted or not. It set to true means that the read-only file will be deleted. False represents that the file will not be deleted.
Example 1: Below code illustrates the ASP File.Delete Method.
GFG.txt file is deleted
Example-2: Below code demonstrates the ASP folder.delete Method.
GFG Folder is deleted
My Personal Notes arrow_drop_up
Please Login to comment...