title: How to search text in Microsoft Word (.doc or .docx) files from command line or batch mode?
body: <p>I need to search some text or phrases in Microsoft Word (.doc and .docx) files under several directories.</p>
  
  <p>I'd like to use command lines or some .bat or .sh file (I can execute on windows or Ubuntu ....).</p>
  
  <p>I've seen that there are some tips on using VBA in Microsoft Word but I'd like another way ...... </p>
  
  <p>Are there any tool / library or other things on this issue?</p>
  
  <p>Any suggestions? Thank you very much in advance!!!</p>
  
  <p>Cesare</p>