>Hi people.
>How can i change file attribute from read only to write and back?
>Thank you
Easiest for the programmer: Use the DOS command ATTRIB.
ATTRIB /? (at the DOS prompt) for help.
Another alternative: Use the Windows API function. But don't ask me which!
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)