MKLINK /D myLink linkTarget
===== Removal =====
Remove the link in the same way as you remove a file or directory **but** you need to use the command appropriate to the type of the link target:
* ''del'' for files;
* ''rmdir'' for directories.
===== Testing for symlinks =====
Is file "myLink" a symlink?
FSUTIL reparsepoint query "myLink" | FIND "Symbolic Link" > NUL 2>&1 && ECHO exists and is link
{{tag> dos admin}}