![](/images/new-backgrounds/1267480/267480329x1.webp)
FLASH/FILE COMMANDS
delete
Use this command to delete a file or image.
Syntax
delete filename
filename - Name of the configuration file or image name.
Default Setting
None
Command Mode
Privileged Exec
Command Usage
•If the file type is used for system startup, then this file cannot be deleted.
•“Factory_Default_Config.cfg” cannot be deleted.
Example
This example shows how to delete the test2.cfg configuration file from Flash memory.
Console#delete test2.cfg
Console#
Related Commands
dir