Page 1 of 1

How to omit certain directory types

Posted: 05 Feb 2009 11:05
by cheops2006
Hi All,

I am using this to create a list of files recursivly from a directory

dir /A-D /B /S >> ..\FileList.txt

However I use subversion and this creates hidden ".svn" directorys which I would like to ignore and also there contents.

How do I go about this?

Thankyou

Adrian.

Posted: 24 Feb 2009 15:03
by paultomasi
have you tried:

dir /A-D-H /B /S >> ..\FileList.txt