Let me first describe where I am. For readability, that will take three paragraphs.
Original Problem: I am working on a php website, one function of which is to read data from a Word file users upload and then insert the entry into some database. Note: the server is running windows (devil windows!).
My Solution: Write a java program to do the word file reading and database inserting stuff, using java Apache POI library. Then execute the java program in one bat file. Then new problem occurs...
New Problem: How can we make a specific bat file run on a specific file system event? In my case, the event will be file creation in one assigned folder.
Wish I have made myself totally understood. Waiting for your help. Any suggestion is appreciated.