Mombu the Microsoft Forum

Go Back   Mombu the Microsoft Forum > Microsoft > Copying files from diferents Computers to a single pc
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 30th October 07:47
hansel ortiz -[brechawarr]
External User
 
Posts: 1
Default 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
  Reply With Quote


 


2 30th October 07:47
pegasus \(mvp\)
External User
 
Posts: 1
Default 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.
  Reply With Quote
3 8th November 17:15
hansel ortiz -[brechawarr]
External User
 
Posts: 1
Default 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$ ??
  Reply With Quote
4 8th November 17:15
pegasus \(mvp\)
External User
 
Posts: 1
Default 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?
  Reply With Quote
5 8th November 17:16
hansel ortiz -[brechawarr]
External User
 
Posts: 1
Default 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
  Reply With Quote
Reply


Thread Tools
Display Modes




666