- Code: Select all
@echo off
for /r %%F in (*) do if %%~zF==0 del "%%F"
robocopy . . /s /move
Create a new text file inside the logs folder, paste the code above into it and finally rename the file into something like cleanup.bat. Run and enjoy.
@echo off
for /r %%F in (*) do if %%~zF==0 del "%%F"
robocopy . . /s /move
JC wrote:I'm not fully committed to being wrong on that yet.
Users browsing this forum: No registered users and 23 guests