|I'm trying to display all text files in the C: drive that have exactly 7 characters in the file name.|
So far I'm using DIR C:\ /W /S | findstr /R "^.......\.txt" which sort of works.
It gives me all the files with 7 characters to the left, but shows up with some random files to the right of some of them, e.g:
eulaENU.txt InstallManager.cfg Language.Dat
NOTE: I don't want to use any loops, I'm very close with my current line of code, so I assume it needs tweaking in some small way