SyntaxFix
Write A Post
Hire A Developer
Questions
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