想得出桌面的路径,输入命令:
reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Desktop|find /i "Desktop"
输出的结果是这样(为什么少了一个"桌面"的"面"字?):
Desktop REG_SZ C:\Documents and Settings\admn\桌
本来的路径应该是:
Desktop REG_SZ C:\Documents and Settings\admn\桌面
To get the path of the desktop, enter the command:
reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Desktop|find /i "Desktop"
The output result is like this (why is the character "面" in "Desktop"?):
Desktop REG_SZ C:\Documents and Settings\admn\桌
The original path should be:
Desktop REG_SZ C:\Documents and Settings\admn\Desktop