delete file if exist windows command line code example Example: delete a file in cmd windows del /f filename.type