As another newbbie, the only solution I can give is:
What if you run in
serverA a
testa.pl, that runs another program :
testb.pl in
serverB, and with the
testb.pl, you could run locally your batch (test.bat) file.
I know this SUX... but i think it would work!
(please Wise monks : kill me if i gave a nonsense reply... so i can learn something with my errors!)
#!/jpsama/bin/perl -w
$tks = `mount`;
$jpsama = $! if $!;
print $jpsama;