delete the file through command code example Example: delete a file in cmd windows del /f filename.type