cd C:\Foo REM Foo contains 2 files and 3 folders dir /b file1.txt file2.txt Folder1 Folder2 Folder3 REM Filter out files and '.' and '..' folders for /f %i in ('dir /b /ad-s-h ^| find /i /v /c ""') do @echo %i 3
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.