How to omit certain directory types

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
cheops2006
Posts: 1
Joined: 05 Feb 2009 11:00

How to omit certain directory types

#1 Post by cheops2006 » 05 Feb 2009 11:05

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.

paultomasi
Posts: 25
Joined: 24 Feb 2009 14:52
Location: UK
Contact:

#2 Post by paultomasi » 24 Feb 2009 15:03

have you tried:

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

Post Reply