This is possible if an ssh server is running on WinXP. It is trivial to configure such a server if you installed Cygwin . It is well described here .
Then from the Ubuntu command line (or cron job) you run
ssh user@winxp command
Make sure your .bat has executable permissions.
source share