Just a quick tip using that string del *.* will delete ALL of the files in that sub-directory or directory.
Perhaps you don't want to delete ALL the files and only SOME of the files. Be extremely cautious with the use of *.*. Better to delete the files singly if you don't want to make the mistake of deleting all the files.
use DIR (filename).*
and test to see what files come up before you delete (for example).
so DIR test.*
reveals test.txt test.exe
etc.
and maybe you only wanted to deleted test.exe whereas by typing DEL test.* or *.* you will delete both, and in the latter case ALL files in the directory or sub-directory.