If you still have the computer with your original library these are two possible approaches that will normally work to move an existing library to a new computer, without needing to export and import playlists.
- Backup the library with this User Tip.
- Deauthorize the old computer if you no longer want to access protected content on it.
- Restore the backup to your new computer using the same tool used to back it up.
- Keep your backup up-to-date in future.
Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entire iTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
Both methods should give the new computer a working clone of the library that was on the old one. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
I'd recommend method 1 since it establishes an ongoing backup for your library.
Note if you have failed to move contacts and calendar items across you should create one dummy entry of each in your new profile and iTunes should merge the existing data from the device.
If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See make a split library portable.
Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then see Recover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
This solved the problem. I was not able to transfer the songs and playlists onto the HP Pavilion as it was recently reformatted and I am having problems downloading necessary Microsoft updates. It would not allow me to install either my online backup service or the SyncToy program. I was able to use SyncToy to copy the iTunes library onto a 8 GB flash drive and then install it on a newer computer running Windows 7. All the songs are available with the playlists. There were approximately 1000 playlists so I was very happy I didn't have to recreate them. Thank you very much for your help. I really appreciate it.