sdruss
asked on
Search Folder with Word Documents Looking for Character Pattern
In MS Window 10. How do you look for a string a character in folder that contain only Word Documents?
Assuming the string character is in the document contents rather than in their file their names, you could write a VBA script to open a folder full of files one at a time and search them for the character. If the character is in the file names, a simple PowerShell script would do the trick.
In explorer, you put the string into the search box. Unless that folder is excluded from indexing, documents that contain the string will be found immediately.
And, if you want to do this on any folder, including those not indexed, you can just open the folder in File Explorer, and then in the Search box (near top right of display) enter:
*.doc* content:hello
to search for the word "hello" in all Word files.
The list will update when you enter that search to show just the files that matched.
»bp
*.doc* content:hello
to search for the word "hello" in all Word files.
The list will update when you enter that search to show just the files that matched.
»bp
ASKER
Ah! Found the problem. All the files in my folder/directory had been protected/encrypted requiring a password to open. Is it possible to open and apply a password or to un-encrypt all the files in a folder?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Very probable. What encryption software was used?