Hi,
Of cource you can use the searchmask *_add_*
forfiles /p "H:" /s /m *_add_*.mp4 /d -21 /c "cmd /c del @path&echo @path >> C:\FORFILES_LOG\record.txt"
Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.