- Jun
- 789
- 7
I thought that
ffind /a:d /s Foo
would let me find all directories named "Foo", but it doesn't seem to always do that. Can anyone explain the results below? I find them inexplicable. E.g., why should searching for "Foo*" find Foo, but searching for "Foo" doesn't?
C:\Junk>dir
Volume in drive C is OS Serial number is 1ce5:1203
Directory of C:\Junk\*
3/05/2010 12:45p DIR .
3/05/2010 12:45p DIR ..
0 bytes in 0 files and 2 dirs
205,416,271,872 bytes free
C:\Junk>mkdir Foo
C:\Junk>ffind /a:d foo
0 files
C:\Junk>ffind /a:d foo*
C:\Junk\Foo
1 file
C:\Junk>mkdir Foo\Bar
C:\Junk>ffind /a:d /s bar
C:\Junk\Foo\Bar
1 file
C:\Junk>mkdir Foo\Aaa
C:\Junk>ffind /a:d /s bar
C:\Junk\Foo\Bar
1 file
C:\Junk>ffind /a:d /s bar*
C:\Junk\Foo\Bar
1 file
C:\Junk>Foo\
C:\Junk\Foo>ffind /a:d bar
0 files
C:\Junk\Foo>ffind /a:d /s bar
0 files
C:\Junk\Foo>dir
Volume in drive C is OS Serial number is 1ce5:1203
Directory of C:\Junk\Foo\*
3/05/2010 12:46p DIR .
3/05/2010 12:46p DIR ..
3/05/2010 12:46p DIR Aaa
3/05/2010 12:46p DIR Bar
0 bytes in 0 files and 4 dirs
205,416,271,872 bytes free
C:\Junk\Foo>ffind /a:d /s bar*
C:\Junk\Foo\Bar
1 file
C:\Junk\Foo>ver /r
TCC 11.00.40 Windows Vista [Version 6.0.6002]
TCC Build 40 Windows Vista Build 6002 Service Pack 2
Registered to davidmarcus - 1 System License
ffind /a:d /s Foo
would let me find all directories named "Foo", but it doesn't seem to always do that. Can anyone explain the results below? I find them inexplicable. E.g., why should searching for "Foo*" find Foo, but searching for "Foo" doesn't?
C:\Junk>dir
Volume in drive C is OS Serial number is 1ce5:1203
Directory of C:\Junk\*
3/05/2010 12:45p DIR .
3/05/2010 12:45p DIR ..
0 bytes in 0 files and 2 dirs
205,416,271,872 bytes free
C:\Junk>mkdir Foo
C:\Junk>ffind /a:d foo
0 files
C:\Junk>ffind /a:d foo*
C:\Junk\Foo
1 file
C:\Junk>mkdir Foo\Bar
C:\Junk>ffind /a:d /s bar
C:\Junk\Foo\Bar
1 file
C:\Junk>mkdir Foo\Aaa
C:\Junk>ffind /a:d /s bar
C:\Junk\Foo\Bar
1 file
C:\Junk>ffind /a:d /s bar*
C:\Junk\Foo\Bar
1 file
C:\Junk>Foo\
C:\Junk\Foo>ffind /a:d bar
0 files
C:\Junk\Foo>ffind /a:d /s bar
0 files
C:\Junk\Foo>dir
Volume in drive C is OS Serial number is 1ce5:1203
Directory of C:\Junk\Foo\*
3/05/2010 12:46p DIR .
3/05/2010 12:46p DIR ..
3/05/2010 12:46p DIR Aaa
3/05/2010 12:46p DIR Bar
0 bytes in 0 files and 4 dirs
205,416,271,872 bytes free
C:\Junk\Foo>ffind /a:d /s bar*
C:\Junk\Foo\Bar
1 file
C:\Junk\Foo>ver /r
TCC 11.00.40 Windows Vista [Version 6.0.6002]
TCC Build 40 Windows Vista Build 6002 Service Pack 2
Registered to davidmarcus - 1 System License