I have already deployed BATCH scripts and that is no problem.
It seems to me that I used the "Execute" command with a simple "Exit" at the end of the file ...
To be sure, you can add a line in your batch file, like :
Echo Result at %time% : %errorlevel% >> "%temp%"\OCS_packages.log
In TEMP directory, if the OCS_packages.log file is created / updated, the batch file is executed correctly.
Warning : If you act in "Program files", the tree structure is different according to the OS's architecture :
If %PROCESSOR_ARCHITECTURE%==x86 set ArchDir=%ProgramFiles%
If %PROCESSOR_ARCHITECTURE%==AMD64 set ArchDir=%ProgramFiles(x86)%