I create a simple sample (demo) VB.net project (application) named AutoBatch.
This application is for Auto Run BAT file, when the file is added to specified directory (folder).
Please download the project from here.
Learning points from this project was :
+ how to watch the content of diretory
+ how to run the BAT file
+ how to delete file
+ how to save the Setting of application
+ how to load the Setting of application
+ how to use Timer to evaluate the change of folder
+ how to use Timer for Demo session
+ how to make a sample simple BAT file.
picture when there is no BAT file.
picture when new BAT file added.
picture when Run BAT file.