- May
- 13,739
- 209
I guess I/m using regular expressions here ... right?
If so, why doesn't the following find any files (or, it seems, even look for them)?
I'd expect it to find filenames (of which there are plenty) with at least two characters before a "." followed by at least three characters, the second of which is "x".
Code:
v:\> for %f in ( "::.*\..x." ) echo %f
V:\10.txt
V:\100.txt
V:\a b.txt
V:\ab.txt
V:\abc.txt
V:\alphabet.txt
V:\anagram.exe
V:\avetemp.txt
(snip)
Code:
v:\> for %f in ( "::..\..x." ) echo %f
"::..\..x."