in reply to How do I run a .bat file?
In add to the others answers, if the script don't work it will probably be a "permission" problem.
.bat is suppossed to be a valid extension and should execute the batch file if you had the rigth permissions and exists the correct association in the web server
Hopes