@ECHO OFF :START cls %homedrive% cd %USERPROFILE% cd.. set profiles=%cd% for /f "tokens=* delims= " %%u in ('dir /b/ad') do ( cls title Deletando %%u Dropbox. . . if exist "%profiles%\%%u\Dropbox" echo Deletando.... if exist "%profiles%\%%u\Dropbox" cd "%profiles%\%%u\Dropbox" if exist "%profiles%\%%u\Dropbox" del *.* /F /S /Q /A: R /A: H /A: A if exist "%profiles%\%%u\Dropbox" rmdir /s /q "%profiles%\%%u\Dropbox" ) cls goto END :END exit