how to delete file in command prompt windows 10 code example Example: delete a file in cmd windows del /f filename.type