Hi,
I have a folder which contains about 25 files, pdf files(25 files) as well as text files (25 files) with the same name but with .pdf and .txt extensions. These text files are actually OCR output of the pdf files. I need to open each text file, search for a specific word or phrase and then move the pdf file with the corresponding name to a different location. Then open the next file perform the operation all over again and then go on to the next file, till the last file. I don't want to manually open each file and do the required. I need to make it happen automatically. Can someone please help me, its very urgent.