How to Delete a Junction by Using Command Prompt in Windows 7
Delete junctions with rmdir
(rd
). Works in all Windows versions.
In my experience fsutil reparsepoint
will take care of some cases where rmdir
gives Access Denied.
fsutil reparsepoint delete <<PATH>>
Use the -d
flag on junction
(junction -d ...
)
Source: http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx