Windows 7上未安装mklink?


40

我刚刚安装了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

我都找不到该文件%WINDIR%,但是mklink在我这边运行就可以了。我猜这是一个内置的系统命令。它说mklink不是公认的命令或什么?
kizzx2 2010年

SO提出了类似的问题。有关更多信息和解决方法,请参见stackoverflow.com/questions/894430/…
Kez 2010年

@kez:Hunh ...不是以为SO是问这个问题的最佳场所。::耸肩::
保罗·内森

PowerShell将给出此错误,但命令提示符有效。
罗迪

Answers:




By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.