Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Vista - First Time User of RoboCopy-Syntax Question

Reply
 
Old 05-11-2009   #1 (permalink)


Win 7
 
 

First Time User of RoboCopy-Syntax Question

This is my first post here and I have just discovered RoboCopy. I am trying to get the following command to work in a script:

c:\Robocopy "D:\shares\TV Collections-Permanent" "E:\Shares\TV Collections-Permanent" /MIR /Z /COPYALL /NP /R:4 /W:5 /LOG+:"C:\External-Shares.log" /TEE

The command works as expected if I use only the /Z, /NP, /R:4, or W:5 parameters. If I include the parameters /MIR, /COPYALL, /LOG+ or /TEE either one at a time or all together the RoboCopy command fails. I have looked at the parameters that don't work and can see nothing wrong with the way I have used them. Obviously, there is something wrong.

The D: folder has File1 and File2
The E: folder has File1 only

Does anyone have and idea what I am doing wrong?

As I said earlier this is my first attempted use of RoboCopy so if I have left some details out, please forgive me. I will supply any info I inadvertently left out.

Best regards,
George

Update: The simple command

c:\Robocopy "D:\shares\TV Collections-Permanent" "E:\Shares\TV Collections-Permanent" /MIR

will not work either. This may make the error simpler to track down. When running the command in a DOS window I get the error:

Error: Inavalid Parameter #3 "/MIR"


Last edited by SeaRay33; 05-11-2009 at 01:33 PM.. Reason: Updated information.
My System SpecsSystem Spec
Old 05-12-2009   #2 (permalink)


Win 7
 
 

Re: First Time User of RoboCopy-Syntax Question

Just in case someone else looks at this I have an answer. I was trying to use ver. 1.71 of Robocopy, an old version that does not recognize some parameter like the /MIR parameter.
Use Version XP010 that downloads with the Server 2003 Resource Tookit. I believe RoboCopy comes as a part of Server 2008 so if you have that OS you don't need to download.

Hope that helps someone. I was beating my head against a brick wall over this one.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
question about robocopy Vista General
Robocopy question using Vista Vista General
robocopy syntax Vista General
Never robocopy vista user accounts without /xj Vista General
Syntax question PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46