I find that the path of the favorites of many Windows XP users is not the default one, but modified by the users themselves. It is often very troublesome to back up the favorites. Later, I found that the path of the favorites can be found in the registry. The following is the key value I manually exported from a user's registry:
"Favorites"="D:\\!Temporary Folder\\!Internet Temporary Folder\\Favorites"
"Personal"="D:\\!My Documents"
"SendTo"="D:\\!My Documents\\SendTo"
"Favorites"="D:\\!Temporary Folder\\!Internet Temporary Folder\\Favorites"
"Personal"="D:\\!My Documents"
"SendTo"="D:\\!My Documents\\SendTo"
-------------------------------------------------------
I want to use a batch process to achieve the following purposes:
1. First, use the batch process to automatically export the and branches of the user's registry. And save it as the Favorites.reg file.
2. Then, use the batch process to process the Favorites.reg file, obtain the path where the Favorites is located and save it to the %fav% variable for subsequent use.
How can this effect be achieved in the batch process? Please friends give pointers, thank you in advance here!
[ Last edited by sglxy on 2006-11-3 at 08:11 AM ]
"Favorites"="D:\\!Temporary Folder\\!Internet Temporary Folder\\Favorites"
"Personal"="D:\\!My Documents"
"SendTo"="D:\\!My Documents\\SendTo"
"Favorites"="D:\\!Temporary Folder\\!Internet Temporary Folder\\Favorites"
"Personal"="D:\\!My Documents"
"SendTo"="D:\\!My Documents\\SendTo"
-------------------------------------------------------
I want to use a batch process to achieve the following purposes:
1. First, use the batch process to automatically export the and branches of the user's registry. And save it as the Favorites.reg file.
2. Then, use the batch process to process the Favorites.reg file, obtain the path where the Favorites is located and save it to the %fav% variable for subsequent use.
How can this effect be achieved in the batch process? Please friends give pointers, thank you in advance here!
[ Last edited by sglxy on 2006-11-3 at 08:11 AM ]

