Zend certified PHP/Magento developer

Hello. Everytime I change windows, I have to install XAMPP again for my new windows . the problem it always says I must install it on an empty folder I know it is not on patition C but to do that, I loose the htdocs and all php and mysql projects on it. what should I do to keep those projects?