All of a sudden, scheduled tasks that update the Cognos Cubes are getting failed. When I try to run it manually from the CMD it is getting executed successfully. But, when I try to create a bat file and run the below script nothing is happening. Could someone look into this and let me know if anything is wrong.
@echo on C: cd "C:\Program Files (x86)\ibm\cognos\c10\bin" Cogtr.exe -n2 -m "C:\Cognos\cube models\test.mdl"