Running a bat file fails

I created a batch file that runs fine in the debugger as well if I run it locally on the laptop but when I create the action,like I have hundreds of times, it will not run it. Any ideas?