dir /a-r-d /s /b
/a is to search for attributes. In this case r is read only and d is directory. The minus signs negate those attributes. So we're looking for writable files only.
/s means recurse subdirectories
/b means bare format. Path and filename only.
6 comments:
good post
very helpful
Although really simple but tremendously useful
Helpful. Thanks.
dir /a-r-d /s /b *.pas,*.dfm 1>writeable.txt ... This works for me to find files with specific extensions and dump them in a txt file for further parsing.
Brilliant - just what I was looking for.
Post a Comment