Which ODI tool are you trying this with? Try using ODIOSCommand & provide complete path to the batch file. Can test once mapping network drive on ODI machine.
Also, make sure that the windows user from which you are running ODI is having read/write access to the shared drive.
First try to execute your batch file, if it is executing as expected.
Then use OdiOSCommand tool and give full path of script and also give a path to create error file & out file.
Execute the batch now via OdiOSCommand, if it fails then you will receive error message in Error file.
Also check if you have rights to script being executed via ODI.