Could you pls help.
1. Trying to parse to list of directories.
2. Check if each folder is NOT empty, if not empty call a function/goto by passing the folder full path
3. function/goto should take the argument and echo
so far have scripted below but not working and not sure is this the right logic.
FOR /F %%i IN (E:\folder_list.txt) DO CALL :dirEmpty %%i
dir /A /B "E:\base_folder\\%~1" | findstr /R "." > NUL && GOTO doFurther <pass_folder_path>
echo "Folder not empty %~1"