Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

batch how to check if folder is empty

# 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
)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #batch #check #folder #empty
ADD COMMENT
Topic
Name
1+5 =