Steve Hayes
2023-06-16 04:21:27 UTC
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?
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
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