Back up the Favorites in MSDN Document Explorer

Source: Internet
Author: User
Tags locale microsoft sql server

After upgrading to Visual Studio 2005, it was found that the matching Document Explorer was also upgraded to 8.0. A big change is that favorites are also integrated into Document Explorer, rather than being managed uniformly in IE's favorites as VS2003 's document explorer.

Soon I found the inconvenience of this small change: the previous collection in IE favorites is easy to back up and migrate, just copy the files. But I want to back up and migrate favorites in the new version of the document Explorer, and find a lap without finding a backup or export feature.

After using the Full-text search tool for keyword searches on the documents and Settings directory, I identified the hidden location of the Favorites folder in MSDN 2005 's Document Explorer, which is stored in c:/documents and settings/your username/ Application the Favorites.xml file under Data/microsoft/msdn/8.0/vs help Data. After opening, the XML format is found as follows:

<?xml version= "1.0" encoding= "Utf-8"?>
<favorites xmlns= "Http://schemas.microsoft.com/VisualStudio/2004/08/Help/Favorites" >
<FavoriteTopics>
<FavoriteTopic>
<title>visual C + + example </Title>
<url>ms-help://ms. Msdnqtr.v80.chs/ms. Msdn.v80/ms. Visualstudio.v80.chs/dv_visualc/html/d8c8e630-3c99-410b-a02d-effcbbc57991.htm</url>
<TopicKeyword>d8c8e630-3c99-410b-a02d-effcbbc57991</TopicKeyword>
<Id>e4786e32-5f64-4dd6-966e-5fd4655b48d0</Id>
<Locale>zh-chs</Locale>
<date>08/04/2007 14:01:04</date>
</FavoriteTopic>
<FavoriteTopic>
<title>visual Studio Tools for office</title>
<url>ms-help://ms. Msdnqtr.v80.chs/ms. Msdn.v80/ms. Visualstudio.v80.chs/dv_vstmain/html/2ddec047-263a-4901-a54c-a15fc8472329.htm</url>
<TopicKeyword>2ddec047-263a-4901-a54c-a15fc8472329</TopicKeyword>
<Id>d61056fb-e848-458c-adb8-6256370f7c2d</Id>
<Locale>zh-chs</Locale>
<date>08/04/2007 14:00:40</date>
</FavoriteTopic>
</FavoriteTopics>
</Favorites>

Each favorite theme corresponds to a <FavoriteTopic></FavoriteTopic> tag. This allows you to back up and migrate your favorites by simply backing up or copying Favorites.xml to other computers. If necessary, you can also implement a merge of favorites on two computers by modifying the contents of the file.

In addition to my frequently used Books Online in SQL Server 2005, as well as the MSDN documentation that is open in the visual Studio C:/Documents IDE, there are separate favorites, respectively, located in the settings/ Administrator/application data/microsoft/microsoft SQL Server/90/tools/shell/vs help Data and C:/Documents and Settings/ Administrator/application Data/microsoft/visualstudio/8.0/vs help Data, the filename is favorites.xml and the format is exactly the same. When I backed up, I merged all the topics in three files into one file to reduce the number of files. This restores the time also only need to restore this one file is OK.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.