lote como verificar se a pasta está vazia

# BATCH HOW TO CHECK IF FOLDER IS EMPTY
for /F %%i in ('dir /b /a "folderpath\*"') do (
    echo if you see this the folder is NOT empty
)
Cheerful Chipmunk