![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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. |
| |||||||
![]() |
| |
| | #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 Specs![]() |
| | #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 Specs![]() |
![]() |
| 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 | |||