-
-
Save jaraco/774e704cc6ab445df908f60bdd668ba2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\users\jaraco> New-Item -Path bar -ItemType SymbolicLink -Value foo | |
New-Item : Cannot find path 'C:\users\jaraco\foo' because it does not exist. | |
At line:1 char:1 | |
+ New-Item -Path bar -ItemType SymbolicLink -Value foo | |
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : ObjectNotFound: (C:\users\jaraco\foo:String) [New-Item], ItemNotFoundException | |
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.NewItemCommand | |
PS C:\users\jaraco> cmd /c mklink /d bar foo | |
symbolic link created for bar <<===>> foo | |
PS C:\users\jaraco> mkdir foo | |
Directory: C:\users\jaraco | |
Mode LastWriteTime Length Name | |
---- ------------- ------ ---- | |
d----- 12/31/2017 1:36 PM foo | |
PS C:\users\jaraco> ls bar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment