If you've been using Internet Explorer, and move to Mozilla Firefox, during the install procedure (or upon running it the first time) it asks you if you wish to import your Internet Explorer settings, including bookmarks.
Not exactly your scenario, but if you use Google Chrome, you can sync your bookmarks with your Google Account, so when you go to any other computer, as long as you log into your google account, you'll get your bookmarks!