为什么系统在创建符号链接时找不到指定的路径?

Spa*_*ich 8 symlink cmd

C:\windows\system32>mklink /D U:\"Mobile Apps"\Repos C:\Users\LeiceJ\Source\Repos The system cannot find the path specified.

我正在尝试设置符号链接,以便我可以从网络驱动器访问我的Repository文件夹.由于Visual Studio不喜欢网络驱动器,我需要在本地存储东西,但我将在网络中的各种计算机上工作,因此我将拥有的唯一一致的文件结构是网络驱动器.为了防止每次我想打开任何东西时不得不经常浏览C盘文件夹,我想创建一个指向Repos文件夹的符号链接.

每次我尝试创建链接时,都会收到此The system cannot find the path specified.错误.路径存在,两者都是正确的.我能想到的唯一一件事就是将其丢弃,即链接来自网络驱动器.

Raw*_*wns -3

您的语音标记位置错误。

U:\"Mobile Apps"\Repos
Run Code Online (Sandbox Code Playgroud)

……应该是这个……

"U:\Mobile Apps\Repos"
Run Code Online (Sandbox Code Playgroud)

完整命令:

mklink /D "U:\Mobile Apps\Repos" C:\Users\LeiceJ\Source\Repos
Run Code Online (Sandbox Code Playgroud)