Guest User

Untitled

a guest
Jan 6th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. PS C:\users\jaraco> New-Item -Path bar -ItemType SymbolicLink -Value foo
  2. New-Item : Cannot find path 'C:\users\jaraco\foo' because it does not exist.
  3. At line:1 char:1
  4. + New-Item -Path bar -ItemType SymbolicLink -Value foo
  5. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  6. + CategoryInfo : ObjectNotFound: (C:\users\jaraco\foo:String) [New-Item], ItemNotFoundException
  7. + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.NewItemCommand
  8.  
  9. PS C:\users\jaraco> cmd /c mklink /d bar foo
  10. symbolic link created for bar <<===>> foo
  11. PS C:\users\jaraco> mkdir foo
  12.  
  13.  
  14. Directory: C:\users\jaraco
  15.  
  16.  
  17. Mode LastWriteTime Length Name
  18. ---- ------------- ------ ----
  19. d----- 12/31/2017 1:36 PM foo
  20.  
  21.  
  22. PS C:\users\jaraco> ls bar
Add Comment
Please, Sign In to add comment