Created
September 15, 2017 15:20
-
-
Save longtth/7d447684ac7dc311a60c5c8ea47abc42 to your computer and use it in GitHub Desktop.
Đếm số lượng file trong các sub-folder và output ra dạng bảng
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
FOR /D %%G in ("*") DO ( | |
PUSHD "%%G" | |
FOR /F "delims=" %%H in ('dir /a-d /b * ^|find /C /V ""') DO echo %%G %%H>>"..\count.txt" | |
POPD | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment