Micro Focus QTP (UFT) Forums
Search for a string in all the files under all subdirectory - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Search for a string in all the files under all subdirectory (/Thread-Search-for-a-string-in-all-the-files-under-all-subdirectory)



Search for a string in all the files under all subdirectory - Mahesh27 - 07-03-2013

Hi

i have an scenario, where i need to search for an string in all the files under all the subdirectoy. i have total of 600 files. Now, i am opening, reading and using RegExp looking for an string in that object. Is there is any other way to get the list of files for matching string, so that i can open only those files to parse.
similar to grep in unix - where the string will be searched without file operation.


RE: Search for a string in all the files under all subdirectory - Sathiya - 07-03-2013

all the 600 files are of same type like all are .xls,.doc?