Hi everyone,
I am having trouble using xcopy with fat16 with my Sunrise IDE harddisk. I am trying to copy the directories and files of entire fat12 partitions to a fat16 partition using this:
xcopy d:\*.* b:\ /h/s/e
where d: is the fat12 (source) and b: the fat16 (target) partiton.
The first few hundred files are okay, however, after a certain point I get this:
*** Invalid attributes
It does this always after writing the first one or two files in a newly created directory. The attributes of the source file are no different than any of the previously succesfully copied files. It doesn't say whether its the attributes of the source or target file are wrong or what's wrong with them, but the target directory's content is sometimes garbled beyond any use.
When I try to xcopy another directory after that, the same happens. I can still copy files to the created target directories using the normal copy command and use those, even if the xcopied files in that directory are garbled.
I tried using two different harddisks. Both have this problem.
Someone (I forgot who - sorry) suggested I should try cd-ing to the target and not specifying it in the command, but that didn't make any difference.
My questions:
1. is xcopy supposed to be okay with fat16?
2. if there some fat16-aware utility I can use instead? I don't feel like issuing hundreds of mkdir and copy commands.
I am using fat16 driver 0.11 and command2.com version 2.41.