I have a batch script as follows.
D: del \"D:\\TEST\\TEST1\\Archive\\*.TSV\" del \"D:\\TEST\\TEST1\\Archive\\*.TXT\" del \"D:\\TEST\\TEST2\\Archive\\*.TSV\"
Consider that the files you need to delete have an extension txt and is located in the location D:\My Folder, then you could use the below code inside the bat file.
txt
D:\My Folder
cd "D:\My Folder" DEL *.txt