Copy My Documents Folder across a Network.

  • Thread starter Thread starter Pig
  • Start date Start date
P

Pig

I have an external network storage device and I would like to make a copy of
the 'My Documents Folder' to the network drive, Every time a file is created
or modified windows automatically creates or modifies the file on the
network drive.

Is there a registry mod or simple script that can achieve this without the
need for additional software?
I have seen this used where I work and wonder how to achieve the same?

All computers using Windows XP Pro SP2 and a wired network with an SC101
drive.

:o)
 
Pig said:
I have an external network storage device and I would like to make a
copy of the 'My Documents Folder' to the network drive, Every time a
file is created or modified windows automatically creates or modifies
the file on the network drive.

Is there a registry mod or simple script that can achieve this
without the need for additional software?
I have seen this used where I work and wonder how to achieve the same?

All computers using Windows XP Pro SP2 and a wired network with an
SC101 drive.

Place this line in a .bat file. Running it will copy the My Dcouments
folder.
(Change Trevor to your name, of course. Also chaneg the output directory to
your liking - I named it "0 C_Backup" to place it at the top of the
directory list)

C:\Windows\System32\Xcopy.exe "C:\Documents and Settings\Trevor\My
Documents\*.*" "F:\0 C_Backup\Trevor\My Documents" /D /E /C /I /Q /H /R /K
/Y

There are a few swicthes. One of them means that only updated files are
copied the second and subsequent time.
Run xcopy /? to find out what they all are.
 
Back
Top