The error I was getting is "cannot find mapped drive" (or something like that, I did not capture the exact message.
I circumvented the problem by including teh drive mapping in the bat file and have included the commands for the benfits of anyone else who may read this (z is the mapped drive I use)
net use z: /delete /y
net use z: \\server\share /user:DOMAIN\username password