Path: ...!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Steve Hayes Newsgroups: comp.os.ms-windows.misc,alt.windows7.general,comp.os.ms-windows.misc,microsoft.public.windowsxp.general,soc.genealogy.computing Subject: XXCOPY & Robocopy barf on files bigger than 100 Mb Date: Fri, 16 Jun 2023 06:21:27 +0200 Organization: Khanya Publications Lines: 45 Message-ID: Reply-To: hayesstw@yahoo.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: dont-email.me; posting-host="960a46c65f4152764ec01a15bc9a036b"; logging-data="786175"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Z0W/R9nMUJlMJtCPKVVX6LDHzQ44diTU=" Cancel-Lock: sha1:OFOcADlf0IFeTVsTmt7ulnAdXMs= X-No-Archive: yes X-Newsreader: Forte Free Agent 2.0/32.652 Bytes: 2798 I use a USB flash drive to transfer my working data files between by dsktop computer (running Windows XP) and my laptop computer (running Windows 7. I used to do most of this this using Dropbox, but Dropbox stopped working on Windows XP, so I've done it with a flash drive since then. Recently, however, one of my data files, for the Rootsmagic genealogy program, started getting corrupted in the transfer. This is the command I use to transfer it from the flash drive to the desktop computer (which runs WinXP): XXCOPY J:\Dropbox\*.* G:\Stevedoc\Dropbox\ /BN /s /y Where J: is the flash drive and G: is a hard drive on my computer. That command is part of a batch file which I run every time I need to transfer the files. I use similar commands copy files to the flash drive. When the Rootsmagic V7 data file reached 100 Mb, however, it started being corrupted. It seems to be corrupted only when copying from the flash drive to the hard drive, on both computers. It does not seem to be corrupted when copying from the hard drive to the flash drive. When I notice it is corrupted, I copy it manually, using FlashCommander, and that seems to copy the file without corruption. Does anyone know of any limitation of both XXCOPY and ROBOCOPY that would cause them to produce errors when copying files over 100 Mb? Or could the problem be in the use of the command in a batch file, so that the batch file tries to run the next command before the computer has finished copying the file to the hard drive? If so, is there way of delaying it until the copying is finished? -- Steve Hayes from Tshwane, South Africa Web: http://www.khanya.org.za/stevesig.htm Blog: http://khanya.wordpress.com E-mail - see web page, or parse: shayes at dunelm full stop org full stop uk