try adding this statment to your bat file
set kxrpc=\\yourserver