本帖最后由 Five66 于 2023-4-11 01:33 编辑
可以用reg命令或注册表项文件修改注册表
临时目录位置注册表位置在
HKEY_CURRENT_USER\Environment
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
中的TEMP项和TMP项
其他7个在
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
中对应的名字的项下,其中Downloads项是个guid,3d object可能也是个guid,不同电脑可能不同
不建议修改临时文件位置跟桌面位置
reg命令不懂,注册表项文件可以参考下面的- Windows Registry Editor Version 5.00
-
- [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
- "My Video"="D:\\Videos"
- "My Pictures"="D:\\Pictures"
- "My Music"="D:\\Music"
- "Personal"="D:\\Documents"
-
- [HKEY_CURRENT_USER\Environment]
- "TEMP"=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,44,00,61,00,74,00,61,00,5c,00,4c,00,\
- 6f,00,63,00,61,00,6c,00,5c,00,54,00,65,00,6d,00,70,00,00,00
- "TMP"=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,44,00,61,00,74,00,61,00,5c,00,4c,00,6f,\
- 00,63,00,61,00,6c,00,5c,00,54,00,65,00,6d,00,70,00,00,00
复制代码
|