|thanks for your replies guys, but it is not working.|
I tried both the command but it is not working, I think i have to tell you more details. Firstly there is a "main" folder inside main folder suppose there are 3 more folder A B C and inside this 3 folders there are another folder "ABC" in each. Inside this ABC folder some files name sms4567.log sms8787.log files are there which I want to delete, so that I want to write a batch file in such a way that it will traverse through the entire folder and subfolders of Main and it will delete sms*.log files.
I tried this one too del ./ABC sms*.log.
it is working, but the problem is this batch file I have to copy and paste in each ABC folder. I don't want this, I want only 1 batch file which will delete all sms*.log through out.