Solved! How to format a computer using windows xp without loosing my files

You can't. I have a saying, "format fixes all." Only thing to do is to backup the data you want to keep.
 
Solution
The definition of format is "losing your files".

That's the whole point of a format.

That's like saying: "How can I take a shower without getting wet"?