The /s switch will cause the command to run through the current folder
and all its sub folders.
del /s c:\master\*.bak
the /q switch will "quiet" the command, you will not see its actions or
verbose asking for confirmation.
del /s /q c:\master\*.bak
Use the @Echo off if you want to see none of the commands:
The batch file contains 2 simple lines and a return line at the end:
===============================================
@echo off
del /s /q c:\master\*.bak
===============================================
John