delete something from cmd code example Example 1: cmd delete DEL filename Example 2: delete command to delete a file in cmd del filename