Computer Hope

Microsoft => Microsoft DOS => Topic started by: FrankGC on June 06, 2010, 10:14:40 AM

Title: Robocopy version and Download source
Post by: FrankGC on June 06, 2010, 10:14:40 AM
Hi,
 How do I determine the version of Robocopy that I have?
 I looked at Robocopy.exe.mui > properties > details and it did not show the version. If I can determine the version and if here is a later one available where can I find it?
My  Robocopy came with Vista.
Thanks
Frank C
Title: Re: Robocopy version and Download source
Post by: marvinengland on June 06, 2010, 12:10:31 PM
Hi,
 How do I determine the version of Robocopy that I have?
 I looked at Robocopy.exe.mui > properties > details and it did not show the version. If I can determine the version and if here is a later one available where can I find it?
My  Robocopy came with Vista.
Thanks
Frank C


C:\>dir /s robo*.*
 Volume in drive C has no label.
 Volume Serial Number is 0652-E41D

 Directory of C:\Program Files\Windows Resource Kits\Tools

04/02/2003  08:07 PM           253,440 robocopy.doc
04/18/2003  06:06 PM            79,872 robocopy.exe
               2 File(s)        333,312 bytes


http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en

Title: Re: Robocopy version and Download source
Post by: marvinengland on June 06, 2010, 12:25:03 PM
(http://i7.photobucket.com/albums/y268/billrich/robo.jpg)


 Directory of C:\Windows\System32

07/13/2009  08:14 PM            97,280 Robocopy.exe
               1 File(s)         97,280 bytes
Title: Re: Robocopy version and Download source
Post by: Salmon Trout on June 06, 2010, 12:51:26 PM
Code: [Select]
Version File version    Year    Origin 
1.70    -               1997    Windows NT Resource Kit         
1.71    4.0.1.71        1997    Windows NT Resource Kit         
1.95    4.0.1.95        1999    Windows 2000 Resource Kit       
1.96    4.0.1.96        1999    Windows 2000 Resource Kit
XP010   5.1.1.1010      2003    Windows 2003 Resource Kit       
XP026   5.1.2600.26     2005    Downloaded with Robocopy GUI v.3.1.2   
XP027   5.1.10.1027     2008    Bundled with Windows Vista, Server 2008 and later

Title: Re: Robocopy version and Download source
Post by: Salmon Trout on June 06, 2010, 03:42:58 PM
Note: XP027 only runs on Vista and later, and was included in those OSs anyway, so there is no point in downloading later than XP026.
Title: Re: Robocopy version and Download source
Post by: patio on June 06, 2010, 05:55:28 PM
Holey Cow...
Title: Re: Robocopy version and Download source
Post by: FrankGC on June 07, 2010, 01:38:22 PM
Thanks to all for the responses.
My Win Vista has Windows Resource Kits Tools is here:
C:\Program Files (x86)\Windows Resource Kits\Tools
It has Subinacl but I don't see Robocopy.
The reason that I asked about the version of Robocopy is because I got in considerable difficulty with some folders and files regarding ownership and permissions on the external drive that was used for backup by Robocopy.
See Post "Elevated command Prompt fails to find path" Reply #4 on: June 01, 2010, 11:36:21 AM »
I did not want to repeat that experience so I wanted to see if My robocopy was up to date. I did run it again and had no difficulty.
Still, it would be nice to find the Robocopy.exe and see it's version number.
Do you know where it is in Vista Ultimate 64 bit?
Thanks
Frank Camp
Title: Re: Robocopy version and Download source
Post by: Salmon Trout on June 07, 2010, 01:46:39 PM
Quote
Do you know where it is in Vista Ultimate 64 bit?

The usual place would be C:\Windows\System32 (This is where Robocopy.exe is on my Windows 7 Pro 64 bit, and I have no doubt that it's the same on Vista. If it is, and you didn't put it there, it must be the default bundled version and it must therefore be the latest version - XP027,  file version 5.1.10.1027.

Your file ownership/permission problems are unlikely to be have been caused by Robocopy.
Title: Re: Robocopy version and Download source
Post by: FrankGC on June 07, 2010, 03:28:23 PM
Thanks so much Salmon Trout,
 I did find Robocopy.exe in C:\Windows\System32
It came bundled with Vista Ultimate 64 bit.
It is version 5.1.0.0 1027 dated 1/20/2008.
I do believe the ownership/permission problem  arose from Robocopy. I was not using any other tool to write to the external drive.
The bad owners were - nobody (Unix User\nobody)
The OK owners were - Linux User,,, (EXTERNALDRIVE\everyone)
Thanks
Frank Camp
Title: Re: Robocopy version and Download source
Post by: BC_Programmer on June 07, 2010, 03:42:40 PM
Quote
I do believe the ownership/permission problem  arose from Robocopy. I was not using any other tool to write to the external drive.
The bad owners were - nobody (Unix User\nobody)
The OK owners were - Linux User,,, (EXTERNALDRIVE\everyone)
Thanks
Frank Camp

Quote
  /COPY:copyflag :: what to COPY for files (default is /COPY:DAT).
                       (copyflags : D=Data, A=Attributes, T=Timestamps).
                       (S=Security=NTFS ACLs, O=Owner info, U=aUditing info).

did you use /COPY:DATSOU ?
Title: Re: Robocopy version and Download source
Post by: Salmon Trout on June 07, 2010, 03:45:48 PM
I do believe the ownership/permission problem  arose from Robocopy. I was not using any other tool to write to the external drive.

OK, I'll rephrase it slightly

Your file ownership/permission problems are likely to be have been caused by how you used Robocopy.
Title: Re: Robocopy version and Download source
Post by: FrankGC on June 07, 2010, 07:54:59 PM
Thanks to both for the response.

This is the Robocpy cmd inside of a small .bat file
 Perhaps using  /COPY:DT was not a good idea, but  initially I got a lot of "Error 5 Access denied".

Robocopy C:\Users\Owner\Music\recordings\  \\externaldrive\public\BackUp-Music\recordings\  /S /COPY:DT  /MIR  /Log:MusicBkupLog.txt

/COPY:DT copies Data and Timestamps. Does not copy Attributes thus avoiding "Error 5 access denied".
/MIR mirrors the source directory tree
/S  copy Subdirectories, but not empty ones.

 Running Robocopy under Task Scheduler can be challenging if the destination is a shared network drive.
A solution to get the destination drive accessed is to use Universal Naming Convention (UNC) addressing for the target:
\\externaldrive\public\BackUp-Music\recordings\

I used the same format to backup pictures with no problem:
Robocopy C:\Users\Public\Pictures\ \\externaldrive\public\BackUp-Pictures\  /S /COPY:DT  /MIR  /Log:PictureBkupLog.txt

Thanks
Frank Camp