1.

Solve : # of dir's?

Answer»

I want to get the NUMBER of dirs in the current directory that I am in but here is my PROBLEM somtimes there will be a . and a .. in the numbers of dirs so i want to know the number of dirs not counting the . or the .. if they are there. Think you any help is appreciated

dir /A:d | FIND / v /c "#~#"

counts the directories

hope it helps
ulidir /AD | FINDSTR /R /V "\.\>" | find /c ""think you



Discussion

No Comment Found