In the batch fille you could use some of the "net use" commands
eg
for the exact syntax do this
start | run | cmd
at prompt enter this
net help use
this will give you a list of the options and settings
now to the batch file , I allways make the first line a brief
description of what it does and the date reminds me of when I wrote it
I used the "subst" command as follows to make my desktop an imaginary
drive:
subst (drivename) (actual path)
you will now have a drive m:
and the net use will make your networked files appear to be drive j:
you should then be able to copy files in eiter direction using xcopy
etc
rem networking batch file 20-mar-2006
subst m: "c:\documents and settings\jim\desktop"
net use j: \\server\diskname\
etc etc
Hope this helps, there are probably more elegant ways of doing this
but this will work.
J McC (e-mail address removed)
===============================================================