Met Delete Folder
# ASP Delete Method
* * Complete Folder Object Reference Manual](#)
* * *
The Delete method can delete a specified file or folder.
**Note:** An error occurs if the specified file or folder does not exist. The Delete method is used the same way for folders with content and folders without content. Regardless of content, the specified folder is deleted. Applying the Delete method to a File or Folder object performs the exact same operation as using FileSystemObject.DeleteFile or FileSystemObject.DeleteFolder.
### Syntax
FileObject.Delete[(force)]
FolderObject.Delete[(force)]
| Parameter | Description |
| --- | --- |
| force | Optional. A Boolean value indicating whether read-only files or folders can be deleted. True indicates that read-only files/folders can be deleted, false indicates that files/folders cannot be deleted. The default is false. |
### Example for the File Object
### Example for the Folder Object
* * Complete Folder Object Reference Manual](#)
YouTip