viper25

Windows Symbolic Links Commands

Jun 29th, 2014
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.29 KB | None | 0 0
  1. REM LIST SYMBOLIC LINKS
  2. dir /AL E:\
  3.  
  4. REM CREATE SYMLINK (Can be safely deleted without deleting target)
  5. mklink /d SYMLINK_NASMOVIES \\nas\Movies
  6.  
  7. REM DELETING SYMBOLIC LINKS
  8. REM For a symlink to a file, use del. For a symlink to a directory made with mklink /d, use rmdir.
  9. rmdir NASMOVIES
Advertisement
Add Comment
Please, Sign In to add comment