You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 12, 2019. It is now read-only.
ni : Cannot find drive. A drive with the name 'K' does not exist.
At line:1 char:1
+ ni -itemtype symboliclink -name myfile -target K:\PRIVATE\derrick ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (K:String) [New-Item], DriveNotFoundException
+ FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.NewItemCommand
(ni was the alias I used in practice)
Thinking it might be related to the issue at keybase/keybase-issues#2248, I also tried the path K:\PRIVATE\derrickliu\myfile, with the same error result.
Using mklink via the classic cmd command prompt creates symbolic links just fine, so that was the workaround I used, but it would be nice to see PowerShell support.
The text was updated successfully, but these errors were encountered:
I just discovered that the K:\ filesystem isn't visible to the shell when running as admin, since I just tried cding to it and got the same error. I can see the K:\ filesystem just fine in the non-admin shell. That's probably the cause of the issue, but I can't create symlinks using PowerShell from non-admin shells :(
Operating system: Windows 10 Insider (build 17083)
I'm attempting to create a symbolic link using PowerShell using the idiomatic way recently introduced in PowerShell:
This fails with an error:
(
ni
was the alias I used in practice)Thinking it might be related to the issue at keybase/keybase-issues#2248, I also tried the path
K:\PRIVATE\derrickliu\myfile
, with the same error result.Using
mklink
via the classiccmd
command prompt creates symbolic links just fine, so that was the workaround I used, but it would be nice to see PowerShell support.The text was updated successfully, but these errors were encountered: