.bat file does not run when executed through Applications Manager