delete command cmd code example Example 1: cmd delete DEL filename Example 2: remove file via command line del filename -- removes filename