Welcome to Gauri Dutt | Tech Insights (formerly iTech Best Practices)! In this video, I have shown how to create batch file to search the all files of any particular extension and delete it. You can implement the same script in active directory to perform the same task in complete office infrastructure. this script also helpful to delete any virus related files which is replicating continuously in office PCs.