SyntaxFix
Write A Post
Hire A Developer
Questions
Have you tried moving DEL %FILE%.txt% to after @echo %FILE% deleted. >> results.txt so that it looks like this?
@echo %FILE% deleted. >> results.txt DEL %FILE%.txt