To remove a file from a DOS floppy or partition, use the dosrm command (see doscmd(C) for details), as follows: dosrm filename
For example, to remove a file called TEST.TXT from the A: drive, type the following:
$ dosrm a:test.txt