我刚刚安装了Windows 7 Pro,并且正在根据自己的喜好进行配置。我去建立一个符号链接(因为它支持符号链接)。
但是我似乎没有该mklink
程序C:\Windows\system32
。
在Powershell的管理员模式下:
PS C:\> mklink
The term 'mklink' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spel
ling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:7
+ mklink <<<<
+ CategoryInfo : ObjectNotFound: (mklink:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
SO提出了类似的问题。有关更多信息和解决方法,请参见stackoverflow.com/questions/894430/…。
—
Kez 2010年
@kez:Hunh ...不是以为SO是问这个问题的最佳场所。::耸肩::
—
保罗·内森
PowerShell将给出此错误,但命令提示符有效。
—
罗迪
%WINDIR%
,但是mklink
在我这边运行就可以了。我猜这是一个内置的系统命令。它说mklink
不是公认的命令或什么?