![]() |
|
Welcome to Vista Banter. You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
|
|||||||
| Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing) |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I've got a Network Storage Device that I'd like to keep up to date
with documents and other files on a dedicated drive on my PC. I know that Sync Centre doesn't recognise the device, so I wondered about a batch file run daily by Task Scheduler. Is this possible, and can someone remind me of the DOS commands to make it copy all subfolders, and overwrite any existing files? -- Nigel M |
|
|||
|
What about Robocopy?
I think the command you can use is copy /s. Jim "Nigel Molesworth" wrote: I've got a Network Storage Device that I'd like to keep up to date with documents and other files on a dedicated drive on my PC. I know that Sync Centre doesn't recognise the device, so I wondered about a batch file run daily by Task Scheduler. Is this possible, and can someone remind me of the DOS commands to make it copy all subfolders, and overwrite any existing files? -- Nigel M |
|
|||
|
The old DOS command was XCOPY, ROBOCOPY is the Vista equivalent. Use ROBOCOPY
to copy from 'machine location' to 'backup location' with /mir to mirror the directory structure, creating and deleteing files and directories to keep the two locations in sync. So many options available on top of that so look at it with '/?' for more detail. "Nigel Molesworth" wrote: I've got a Network Storage Device that I'd like to keep up to date with documents and other files on a dedicated drive on my PC. I know that Sync Centre doesn't recognise the device, so I wondered about a batch file run daily by Task Scheduler. Is this possible, and can someone remind me of the DOS commands to make it copy all subfolders, and overwrite any existing files? -- Nigel M |
|
|||
|
On Sat, 28 Apr 2007 02:10:00 -0700, Phil Wood
wrote: The old DOS command was XCOPY, ROBOCOPY is the Vista equivalent. Thanks, I didn't even know RoboCopy existed! I tried using: robocopy M:\ N:\ /MIR /XO /XA:[H] to copy from the M: drive to my N: drive, /MIR mirror the directory tree /XO exclude older files /XA:[H] exclude [Hidden] The idea of the last switch is to ignore the Recycle Bin, but RoboCopy doesn't like this if you use /MIR Any suggestions? -- Nigel M |
|
|||
|
On Sat, 28 Apr 2007 15:31:41 +0100, Nigel Molesworth
wrote: I tried using: robocopy M:\ N:\ /MIR /XO /XA:[H] I've got in a mess now! I managed to get it to run with just /MIR, but it seemed to be creating loads of strange directories on the destination so I stopped it and deleted them all. Now when I run it, with no switches, I get: ERROR 5 Changing File Attributes M:\ (the source) Access is denied. I'd rather not changed the attributes anyway (presumably the A bit). Any thoughts? -- Nigel M |
|
|||
|
I have been using robocopy with /mir with no problems. The only other
switches were just to cut down on retries. I am mirroring 30000 odd files in god knows how many folders organised by Itunes and it works well. Why not try mirroring something smaller and try the different options before commiting to a full drive? I am mirroring a drive mapped from an XP machine (offline enabled) to an external disk drive and it seems to work perfectly, so persevere. "Nigel Molesworth" wrote: On Sat, 28 Apr 2007 15:31:41 +0100, Nigel Molesworth wrote: I tried using: robocopy M:\ N:\ /MIR /XO /XA:[H] I've got in a mess now! I managed to get it to run with just /MIR, but it seemed to be creating loads of strange directories on the destination so I stopped it and deleted them all. Now when I run it, with no switches, I get: ERROR 5 Changing File Attributes M:\ (the source) Access is denied. I'd rather not changed the attributes anyway (presumably the A bit). Any thoughts? -- Nigel M |
|
|||
|
Nigel Molesworth,
I'm sorry you're experiencing trouble. If you are using a Samba-based NAS device: - Contact the manufacturer for a firmware upgrade to use version 3.0.23 or later - Follow manufacturer's instructions for enabling NTLMv2 through their configuration interface Please post back with results. "Nigel Molesworth" wrote: On Sat, 28 Apr 2007 15:31:41 +0100, Nigel Molesworth wrote: I tried using: robocopy M:\ N:\ /MIR /XO /XA:[H] I've got in a mess now! I managed to get it to run with just /MIR, but it seemed to be creating loads of strange directories on the destination so I stopped it and deleted them all. Now when I run it, with no switches, I get: ERROR 5 Changing File Attributes M:\ (the source) Access is denied. I'd rather not changed the attributes anyway (presumably the A bit). Any thoughts? -- Nigel M |
|
|||
|
On Fri, 4 May 2007 10:30:01 -0700, Kim [MS]
wrote: If you are using a Samba-based NAS device: It's a Maxtor Shared Storage II with the latest software. -- Nigel M |