I have two contiguous files on an NTFS USB drive - fileA and fileB.
I need to ensure that the start address of fileA always precedes the start address of fileB.
Any ideas on the best way to do this?
Ideally, I don't want to affect the position of any other files already on the NTFS volume. It would also be nice to keep them contiguous too (but I can run WinContig afterwards if required).
Currently, I have a batch file which renames and copies fileB and then checks it's position. If it is not past fileA then I loop again and repeat the fileB copy process. If this does not work within 100 passes, I re-copy both files to the same volume and then run the fileB loop again.
This seems to work, but it is quite slow and disk intensive.
P.S. fileA is usually quite large - e.g. 2GB-8GB, fileB is smaller, approx 40MB-200MB.