|
本帖最后由 yyz2191958 于 2024-1-20 12:42 编辑
用符号链接应该可以:
进入 PE 运行 “打开“符号链接”文件需要.reg”:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.symlink]
@=".symlink"
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
00,6f,00,6f,00,74,00,25,00,5c,00,73,00,68,00,65,00,6c,00,6c,00,33,00,32,00,\
2e,00,64,00,6c,00,6c,00,2c,00,2d,00,34,00,31,00,35,00,33,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.symlink\shellex]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.symlink\shellex\ContextMenuHandlers]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.symlink\shellex\ContextMenuHandlers\OpenContainingFolderMenu]
@="{37ea3a21-7493-4208-a011-7f9ea79ce9f5}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.symlink\shellex\ContextMenuHandlers\{85cfccaf-2d14-42b6-80b6-f40f65d016e7}]
@=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.symlink\shellex\IconHandler]
@="{85cfccaf-2d14-42b6-80b6-f40f65d016e7}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.symlink\shellex\{000214EE-0000-0000-C000-000000000046}]
@="{85cfccaf-2d14-42b6-80b6-f40f65d016e7}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.symlink\shellex\{000214F9-0000-0000-C000-000000000046}]
@="{85cfccaf-2d14-42b6-80b6-f40f65d016e7}"
=========================================
然后参考下面:
mklink /d "D:\工具\!常用" "D:\常用" %【后——需被映射,前——快捷方式】%=======================================================
假如:你将 “Users”文件夹剪切到 D盘根目录,那么执行:
mklink /d "C:\Users" "D:\Users" %【后——需被映射,前——快捷方式】%
|
|