|
Answer» How do I retrieve all lines in every file in every SUBDIRECTORY that contains the double backslash \\ ?Do you want the contents of those files to be appended into a separate file?
Is it every .txt file on c: or do you want to search binary files too?I just want non-binary files to be scanned with the STRING that contains the two backslashes, i do not care which file it was found in.This seems to work. The escaping seems to require the bunch of \
Code: [SELECT]findstr /s /p /c:"\\\\\\\\" *.* >file.txt It provides an output like this which can be processed further to remove the path\filenames:
123 456\find.txt:\\DELL find.txt:\\DELL Thanks a lot, WORKS like a CHARM....
|