OK, perhaps it is a permissions problem, as the files were created on an XP
the owner of the files is probably set to
the XP user.
(assumption: this is a NTFS formatted drive).
In windows explorer, browse to a file that you are having problems 'writing'
(not a directory/folder).
Right click the file, select properties.
Verify that clearing the attribute 'read only will not stay.
(it is currently read only check mark, clear it, apply OK look at properties
again and see that the box is checked (not just filled in) again).
Change ownership for that file:
now select the security tab, advanced button owner tab hopefully you will
NOT be listed as owner (otherwise something else is the problem).
You should be listed in the possible change owner list, select EDIT button
and grant permission.
You and the administrators group should be in this list, select yourself and
apply.
Now try looking at the read only box again, see if you can change and then
try your program that is failing.
If you can now make changes to that file you need to do the same for the
entire drive. Fortunately you don't have to do this on file by file basis,
browse to the drive in question (make sure no files from the drive are in
use, close the editor program you were using to test for instance).
Now change the ownership for the entire drive, at some point you will be
asked if you want to change ownership on all items and included items (or
something like that) say yes and everything will change ownership, now you
should be able to do anything you want with the files.
Michael