Click here to Skip to main content
14,699,489 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Could you please help me in fidning a word/text by entering dynamically in word document in particular folder using JavaScript.

I have one folder in my C drive, it contains so many word documents in that.
Now my requiremnet is i need to search for a text in those word documents and result should be, the name of the word documents which contains that text.

Kindly help me.
I'm new to Java Scripting.

1 solution

did you try googling ?

This link could be a starting point how to read text file[^]

If you are comfortable with the above google "how to directory listing in javascript" or somthing similar

finally, combine your findings and you will get what you needed

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900