Windows 7 uses the Registry to move my documents and other default system folders

Source: Internet
Author: User

The default locations of "My Documents" and "favorites" are all in c: \ Documents and Settings \ (User Name )\. If you want to reinstall the system, the content in "My Documents" and "favorites" will not exist.

If you modify the default location of "My documents", "favorites", and so on, there will be no such troubles.

Open Registry: Start-run-Regedit-OK.

Key registry key to be modified (the same value in the two items should be modified at the same time)

1. HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ User Shell Folders

2. HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Shell Folders

1. My Documents

Note: You can change the location of my document in my document attributes. This article describes how to modify the registry.

Pesonal my documents

Default location: C: \ Documents ents and Settings \ (User Name) \ My Documents ents

1. modify the Registry: In the right-side window of the key registry key, find the string value "pesonal", double-click it, and change the default path to a new path, for example, "D: \ My Documents \".

My pictures my images

Default location: C: \ Documents ents and Settings \ (User Name) \ My Documents ents \ my pictures

In the right-side window of the key registry key, find the string value "my pictures", double-click it, and change the default path to a new path, for example, "D: \ My Documents \ my pictures ".

My music my music

Find the string value "My music" in the right window of the key registry, double-click it, and change the default path to a new path, for example, "D: \ My Documents \ My music ".

My video my video

In the right-side window of the key registry key, find the string value "my video. Double-click and change the default path to a new path, for example, "d: \ My Documents \ My video ".

Ii. favorites

Favorites favorites

In the right-side window of the key registry key, find the string value "favorites" and change the default path to a new path, for example, "d: \ My Documents ents \ favorites"

3. More system folders

Administrative Tools Start Menu management tool menu

Cache network Cache

Cookies

Desktop

Fonts font

Histroy history

Programs Start Menu program menu

Sendto send to menu

Start Menu

Startup Start Menu

Templates Template File

............

You can find more system folders that can be changed.

Note:

1. HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ User Shell Folders

2. HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Shell Folders

If you change the values of the two items at the same time, the change will take effect.

Certificate -------------------------------------------------------------------------------------------------------------------------------------

How to change the desktop path and Start Menu path

I recently re-installed the system and forgot the important things on the desktop. I had to regret it. Later, I thought of changing the desktop address through the registry and changing the default desktop address to another disk, it also has something to do. Later I checked it online. I 'd like to summarize it and hope it will help you !!!

Enter "Regedit" in "start"> "run" to open the Registry Editor. Then, back up the registry using the "Export" function in the "file" drop-down menu, just in case, in the left-side window, open:

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Shell Folders

In the window on the right, the "name" you see represents the special folders, and "data" is the default storage path corresponding to them. Modify the default path to move your Desktop Folder.

The following describes the folders represented by each "name ".

Name Description default path

Appdata application data directory c: \ Documents ents and Settings \ User Name \ Application Data

Cookie Path c: \ cookies and Settings \ User Name \ cookies

Desktop desktop path c: \ Documents ents and Settings \ User Name \ Desktop

Favorites favorites c: \ Documents ents and Settings \ User Name \ favorites

Nethood path c: \ Documents ents and Settings \ User Name \ nethood

Personal my documents c: \ Documents ents and Settings \ User Name \ My Documents ents

Printhood print c: \ Documents ents and Settings \ User Name \ printhood

Recent document item path c: \ Documents ents and Settings \ User Name \ recent

Sendto path c: \ Documents ents and Settings \ User Name \ sendto

Start Menu path c: \ Documents ents and Settings \ User Name \ Start Menu

Templates new file directory c: \ Documents ents and Settings \ User Name \ templates

Programs program menu path c: \ Documents ents and Settings \ User Name \ Start Menu \ Program

Startup startup path c: \ Documents ents and Settings \ User Name \ Start Menu \ Program \ Start

History web page history c: \ Documents ents and
Settings \ User Name \ Local Settings \ history

My pictures image favorites c: \ Documents ents and Settings \ User Name \ My Documents ents \ my pictures

My music my music c: \ Documents ents and Settings \ User Name \ My Documents ents \ my music

My video my video c: \ Documents ents and Settings \ User Name \ My Documents ents \ My videos

Cache Internet Temporary Folder c: \ Documents ents and Settings \ User Name \ Temporary Internet Files

These folders are called Shell Folders.

"User Name" indicates the name of the current user.

After learning about the corresponding folder, you can change the corresponding path as needed. (Do not change it here. It's just a bit too busy. After the system restarts, it will be restored to the original path)

At the same layer, you can see a sub-Key of "User Shell Folders", that is, in HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ User Shell Folders

This includes the values of all Shell Folders customized by the user. You can change the storage path by modifying "data. Double-click the name to be modified, fill in the complete path you want to change in the "Edit string" value data "pop-up, and press" OK. If you do not need it, right-click the window on the right and select the "string value" command in the "new" menu. Add a string value for the Shell folder corresponding to the preceding table.

In the preceding folder, there is no Outlook Address Book or mail storage path.

Address book path:

Under the primary key of HKEY_CURRENT_USER \ Software \ Microsoft \ WAB \ wab4 \ WAB file name, change the "default" key value to the path you need.

Mail storage path:

HKEY_CURRENT_USER \ identities \ {8150fa22-a51c-4993-8a96-dc4b9a6b4c55} \ Software \ Microsoft \ Outlook Express \ 5.0, change the "store root" key value to the path you need.

Finally, do not forget to export and save the modified registry so that you can import the Registry directly after reinstalling the system without having to modify it again.

Note: After the PATH value of the folder is modified, the files in the original folder are not moved to the new folder. In this way, only the pointing of the folder is changed.

Reprinted from: http://blog.sina.com.cn/s/blog_6f3bb20c0100w7j7.html

Related Article

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.