使用javascript在特定目录中动态查找word文档中的文本

问题描述:

HI,

您可以通过使用JavaScript在特定文件夹的Word文档中动态输入单词来帮助我查找单词/文本吗?

我的C驱动器中有一个文件夹,其中包含许多word文档.
现在我的requiremnet是我需要在这些Word文档中搜索文本,结果应该是包含该文本的Word文档的名称.


请帮助我.
我是Java脚本的新手.



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.

您尝试使用Google搜索吗?

此链接可能是阅读文本文件的起点

http://www.codingforums.com/showthread.php?t=647 [ ^ ]

如果您对上述Google如何在javascript中列出目录"感到满意,或者有类似之处

最后,结合您的发现,您将得到所需的东西
did you try googling ?

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

http://www.codingforums.com/showthread.php?t=647[^]

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