[未测试过,只是收藏]Windows7中如何把“用户文件夹”设置在非系统盘

http://blog.sina.com.cn/s/blog_4c7777440100xyqb.html

http://blog.163.com/huangbao_007/blog/static/3563653520139495544794/

以下方法来自网络,我并没有测试过,仅作为自己的收藏,以后试下。如有问题,概不负责。

===========================================

我一般用一种跟干净的方法,需要在安装的时候指定安装参数,具体如下:
建立一xml文件,内容为
================

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"> 
<FolderLocations>
<ProfilesDirectory>D:\MyProfile</ProfilesDirectory>
</FolderLocations> 
</component>
</settings>
</unattend>  

================假如文件名为abc.xml,并与setup.exe同目录
则在安装的时候通过命令行输入"setup /unattend:abc.xml"
安装完毕后users目录将会在d:中了,有意思的是,MyProfile目录显示为Users,除非用其他系统登录才发现它.
同样的方法,可以指定其他系统目录,具体可参考WAIK的文档。
 

猜你喜欢

转载自yeelor.iteye.com/blog/1432993