Copying files from diferents Computers to a single pc
hi...
i would like to know how can i make a batch file to copy several log
files from diferents pc (or server) to my computer
im using a windows 2003 server..
i think that in a batch file could be fine.... to do that.. but if
someone uses vbscripting... is fine too..
Thanks
Sending regards....
Hansel ortiz from dominican republic
hansel ortiz -[brechawarr]
2
30th October 07:47
pegasus \(mvp\)
External User
Posts: 1
Copying files from diferents Computers to a single pc
Try this: @echo off
echo Copy process started on %date% at %time% > c:\copy.log
xcopy /d /y /c /s "\\PC1\Share1\Folder1" "D:\My Files\PC1\" 1>>c:\copy.log
2>>&1
xcopy /d /y /c /s "\\PC2\Share2\Folder2" "D:\My Files\PC2\" 1>>c:\copy.log
2>>&1
xcopy /d /y /c /s "\\PC3\Share3\Folder3" "D:\My Files\PC3\" 1>>c:\copy.log
2>>&1
etc.
pegasus \(mvp\)
3
8th November 17:15
hansel ortiz -[brechawarr]
External User
Posts: 1
Copying files from diferents Computers to a single pc
the folder on the source pc... has to be shared? ??....
can i do the same process with the admin share.... with \\PC1\C$ ??
hansel ortiz -[brechawarr]
4
8th November 17:15
pegasus \(mvp\)
External User
Posts: 1
Copying files from different Computers to a single PC
On Jul 17, 1:23 pm, "Pegasus \(MVP\)" <I....@fly.com.oz> wrote:
*** Not necessarily - it depends on your requirements.
*** Why don't you give it a try?
pegasus \(mvp\)
5
8th November 17:16
hansel ortiz -[brechawarr]
External User
Posts: 1
Copying files from different Computers to a single PC
thanks men.... i will give a try
i let you know as soon i test it