SyntaxFix
Write A Post
Hire A Developer
Questions
@echo off @color 0A echo Deleting logs rmdir /S/Q c:\log\ ping 1.1.1.1 -n 5 -w 1000 > nul echo Adding log folder back md c:\log\
You was on the right track. Just add code to add the folder which is deleted back again.