帮忙写一个把 C盘“桌面”文件移动到D盘里面 的注册表文件

帮忙写一个把 C盘“桌面”文件移动到D盘里面 的注册表文件
2024-11-15 23:18:16
推荐回答(5个)
回答1:

先要在“开始”——“运行”内输入“regedit”打开注册表编辑器,然后要在“文件”下拉菜单中的“导出”功能备份好注册表,以防万一,接着在左侧窗口依次打开:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
在右侧窗口里,你看到的“名称”就代表那些特殊的文件夹,“数据”就是它们所对应的默认存储路径。修改默认的路径就可以让你的桌面文件夹移动了,下面是所有的.

下面介绍一下各个“名称”所代表的文件夹
名称 含义 默认路径
AppData 应用程序数据目录 C:\Documents and Settings\User name\Application Data
Cookies Cookies路径 C:\Documents and Settings\User name\Cookies
Desktop 桌面路径 C:\Documents and Settings\User name\桌面
Favorites 收藏夹 C:\Documents and Settings\User name\Favorites
NetHood NetHood路径 C:\Documents and Settings\User name\NetHood
Personal 我的文档 C:\Documents and Settings\User name\My Documents
PrintHood 打印 C:\Documents and Settings\User name\PrintHood
Recent 文档项路径 C:\Documents and Settings\User name\Recent
SendTo SendTo路径 C:\Documents and Settings\User name\SendTo
Start Menu 开始菜单路径 C:\Documents and Settings\User name\「开始」菜单
Templates 新建文件目录 C:\Documents and Settings\User name\Templates
Programs 程序菜单路径 C:\Documents and Settings\User name\「开始」菜单\程序
Startup 启动路径 C:\Documents and Settings\User name\「开始」菜单\程序\启动
History 网页历史记录 C:\Documents and Settings\ User name \Local Settings\History
My Pictures 图片收藏 C:\Documents and Settings\User name\My Documents\My Pictures
My Music 我的音乐 C:\Documents and Settings\User name\My Documents\My Music
My Video 我的视频 C:\Documents and Settings\User name\My Documents\My Videos
Cache Internet临时文件夹 C:\ Documents and Settings\User name \Temporary Internet Files
这些文件夹称为Shell文件夹
其中“User name”为当前用户的名称
了解了对应的文件夹,就可以根据自己的需要去更改对应的路径了。(千万不要在这儿改啊,那样可就瞎忙乎了,系统重起后它会恢复成原来的路径)
在同一层中你可以看到一个“User Shell Folders”的子键,即在HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ User Shell Folders
这里包括了用户定制的所有Shell文件夹的值项。只要通过修改“数据”,就可以改变它们的存储路径。双击需要修改的名称,在弹出的“编辑字符串”的“数值数据”里填上你要更改的完整路径,按下“确定”就完成了。如果没有你需要的,可以在右边窗口单击鼠标右键,选择“新建”菜单中的“字符串值”命令,对应上表,添加一个用于Shell文件夹的字符串值。
在上面的文件夹中,并没有outlook的通讯簿和邮件存放路径,它们分别在
通讯簿路径:
HKEY_CURRENT_USER\Software\Microsoft\WAB\WAB4\Wab File Name主键下,将“默认”键值改为你需要的路径。
邮件存放路径:
HKEY_CURRENT_USER\Identities\{8150FA22-A51C-4993-8A96-DC4B9A6B4C55}\Software\Microsoft\Outlook Express\5.0下,将 “Store Root”键值改为你需要的路径。
最后别忘了将修改好的这部分注册表导出保存,以便重装系统后可以直接导入而无须再次修改。
注意:修改了文件夹的路径值后,原有文件夹中的文件并不会移到新的文件夹中,这样做只改变了文件夹的指向。

复制下面代码到记事本中,把后缀该为(.reg)格式文件.
第一个注册表编辑如下:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders]
"AppData"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
4c,00,45,00,25,00,5c,00,41,00,70,00,70,00,6c,00,69,00,63,00,61,00,74,00,69,\
00,6f,00,6e,00,20,00,44,00,61,00,74,00,61,00,00,00
"Desktop"=hex(2):64,00,3a,00,5c,00,4c,68,62,97,00,00
"Favorites"="D:\\Favorites"
"NetHood"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
4c,00,45,00,25,00,5c,00,4e,00,65,00,74,00,48,00,6f,00,6f,00,64,00,00,00
"Personal"=hex(2):64,00,3a,00,5c,00,4d,00,79,00,20,00,44,00,6f,00,63,00,75,00,\
6d,00,65,00,6e,00,74,00,73,00,00,00
"PrintHood"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
4c,00,45,00,25,00,5c,00,50,00,72,00,69,00,6e,00,74,00,48,00,6f,00,6f,00,64,\
00,00,00
"Programs"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
4c,00,45,00,25,00,5c,00,0c,30,00,5f,cb,59,0d,30,dc,83,55,53,5c,00,0b,7a,8f,\
5e,00,00
"SendTo"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,\
00,45,00,25,00,5c,00,53,00,65,00,6e,00,64,00,54,00,6f,00,00,00
"Start Menu"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,\
00,4c,00,45,00,25,00,5c,00,0c,30,00,5f,cb,59,0d,30,dc,83,55,53,00,00
"Startup"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
4c,00,45,00,25,00,5c,00,0c,30,00,5f,cb,59,0d,30,dc,83,55,53,5c,00,0b,7a,8f,\
5e,5c,00,2f,54,a8,52,00,00
"Templates"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
4c,00,45,00,25,00,5c,00,54,00,65,00,6d,00,70,00,6c,00,61,00,74,00,65,00,73,\
00,00,00
"My Pictures"=hex(2):64,00,3a,00,5c,00,4d,00,79,00,20,00,44,00,6f,00,63,00,75,\
00,6d,00,65,00,6e,00,74,00,73,00,5c,00,4d,00,79,00,20,00,50,00,69,00,63,00,\
74,00,75,00,72,00,65,00,73,00,00,00
"Local Settings"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,\
49,00,4c,00,45,00,25,00,5c,00,4c,00,6f,00,63,00,61,00,6c,00,20,00,53,00,65,\
00,74,00,74,00,69,00,6e,00,67,00,73,00,00,00
"Local AppData"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,\
49,00,4c,00,45,00,25,00,5c,00,4c,00,6f,00,63,00,61,00,6c,00,20,00,53,00,65,\
00,74,00,74,00,69,00,6e,00,67,00,73,00,5c,00,41,00,70,00,70,00,6c,00,69,00,\
63,00,61,00,74,00,69,00,6f,00,6e,00,20,00,44,00,61,00,74,00,61,00,00,00
"My Music"=hex(2):64,00,3a,00,5c,00,4d,00,79,00,20,00,44,00,6f,00,63,00,75,00,\
6d,00,65,00,6e,00,74,00,73,00,5c,00,4d,00,79,00,20,00,4d,00,75,00,73,00,69,\
00,63,00,00,00
"Cache"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,\
00,45,00,25,00,5c,00,4c,00,6f,00,63,00,61,00,6c,00,20,00,53,00,65,00,74,00,\
74,00,69,00,6e,00,67,00,73,00,5c,00,54,00,65,00,6d,00,70,00,6f,00,72,00,61,\
00,72,00,79,00,20,00,49,00,6e,00,74,00,65,00,72,00,6e,00,65,00,74,00,20,00,\
46,00,69,00,6c,00,65,00,73,00,00,00
"Cookies"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
4c,00,45,00,25,00,5c,00,43,00,6f,00,6f,00,6b,00,69,00,65,00,73,00,00,00
"History"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,\
4c,00,45,00,25,00,5c,00,4c,00,6f,00,63,00,61,00,6c,00,20,00,53,00,65,00,74,\
00,74,00,69,00,6e,00,67,00,73,00,5c,00,48,00,69,00,73,00,74,00,6f,00,72,00,\
79,00,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\New]

第二个注册表编辑如下:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"AppData"="C:\\Documents and Settings\\new\\Application Data"
"Cookies"="C:\\Documents and Settings\\new\\Cookies"
"Desktop"=""
"Favorites"="D:\\Favorites"
"NetHood"="C:\\Documents and Settings\\new\\NetHood"
"Personal"="d:\\My Documents"
"PrintHood"="C:\\Documents and Settings\\new\\PrintHood"
"Recent"="C:\\Documents and Settings\\new\\Recent"
"SendTo"="C:\\Documents and Settings\\new\\SendTo"
"Start Menu"="C:\\Documents and Settings\\new\\「开始」菜单"
"Templates"="C:\\Documents and Settings\\new\\Templates"
"Programs"="C:\\Documents and Settings\\new\\「开始」菜单\\程序"
"Startup"="C:\\Documents and Settings\\new\\「开始」菜单\\程序\\启动"
"Local Settings"="C:\\Documents and Settings\\new\\Local Settings"
"Local AppData"="C:\\Documents and Settings\\new\\Local Settings\\Application Data"
"Cache"="C:\\Documents and Settings\\new\\Local Settings\\Temporary Internet Files"
"History"="C:\\Documents and Settings\\new\\Local Settings\\History"
"My Pictures"="d:\\My Documents\\My Pictures"
"Fonts"="C:\\WINDOWS\\Fonts"
"My Music"="d:\\My Documents\\My Music"
"CD Burning"="C:\\Documents and Settings\\new\\Local Settings\\Application Data\\Microsoft\\CD Burning"
"My Video"="d:\\My Documents\\My Videos"
"Administrative Tools"="C:\\Documents and Settings\\new\\「开始」菜单\\程序\\管理工具"

导入以上两个注册表文件
重启电脑

回答2:

把桌面【C盘】换成D盘

先要在“开始”——“运行”内输入“regedit”打开注册表编辑器,然后要在“文件”下拉菜单中的“导出”功能备份好注册表,以防万一,接着在左侧窗口依次打开:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders 在右侧窗口里,你看到的“名称”就代表那些特殊的文件夹,“数据”就是它们所对应的默认存储路径。修改默认的路径就可以让你的桌面文件夹移动了,
Desktop 桌面路径 C:\Documents and Settings\User name\桌面
复制方便点c:\windows\desktop文件复制到d盘

回答3:

不用写,写也没用。
文件已在C盘,需要自己移动到D盘的,注册表文件只是配置信息。
转移文件完以后,你可以下载深度小兵的桌面资料转移工具,一般电脑城的装机盘里面都有的。

回答4:

找到文件 然后直接移动

回答5:

很简单的一个小技巧,没多少技术含量,不管是WIN7还是10都支持,装好系统必备的操作,赶紧去试试把。