I have a kiosk computer that runs IE 9.0 "http://localhost" to display content on the D:\ drive.
I want to be able to write a program that when a USB flash drive is inserted, it will copy the files from the flash drive and then reload the localhost page. The computer runs XAMPP (Apache and PHP). How can I accomplish this?
I was thinking of using Windows Task Scheduler and run it every 5 minutes, but sometimes it can take longer than 5 minutes to copy files. And if I set it to 15min to be safe, then the person updating the kiosk has to wait approx 15 minutes for the task to run again, plus the time to copy.
Any help, ideas, or direction on how to proceed would be GREAT!