>Thanks :) I didn't realise that you had to unhide the file before you could change the readonly attrib.
>
>Phil.
I think the same applies to the System attribute as well. If the file is marked as hidden & system, both have to be reset simultaneously within the same command, from what I recall.
The API solution is the neatest, the restrictions built into attrib aren't there.
Len Speed