Symlink In Windows -
del my_file_link.txt rmdir my_folder_link In PowerShell:
mklink /D C:\MyDocs D:\Documents\Work New-Item -ItemType SymbolicLink -Path "C:\Link" -Target "D:\RealFolder" For directory symlinks explicitly: symlink in windows
dir /AL # Lists all reparse points (symlinks, junctions) del my_file_link
Get-ChildItem | Where-Object $_.LinkType -eq "SymbolicLink" Use del (file) or rmdir (directory) — never delete the target. symlink in windows