First please supply the correct Windows OS in your profile.
viewtopic.php?f=16&t=48626Stop any other Apache or MySQL (XAMPP) components that are running then rename the xampp folder on your old drive to xampp_old for example then copy over the whole xampp_old folder to your new drive and then run the setup_xampp.bat file found in the xampp_old folder.
This should then give you a working XAMPP installation.
Test by going to
http://localhost in your browser after you have started Apache and MySQL using the Control Panel in the xampp_old folder.
When you open phpMyAdmin you will be able to export your databases and then import them later into your new xampp installation.