What I would do is create a subfolder called 'processed' Run your bat file to project the files in your folder and move the processed files to the subfolder. This results in your main folder being empty if nothing to do and filled if you need to do something. Now you can schedule your bat file to run periodically.
BTW. I don't think this is a GDAL question, more a Windows batch question. Paul *Paul Meems * Release manager, configuration manager and forum moderator of MapWindow GIS. www.mapwindow.org Owner of MapWindow.nl - Support for Dutch speaking users. www.mapwindow.nl *The English presentations of the MapWindow GIS Conference 2014 are online. <http://www.slideshare.net/mapwindow>* 2014-10-21 9:30 GMT+02:00 Love <ljvillari...@gmail.com>: > How am I going to automatically detect all the files that were added to > the directory and then project it immediately?Because everyday I am > downloading hdf files and then project it from time to time which is a > waste of time. That's why I need it in batch process and automatic process. > > Thank you in advance! > > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev