Posted on July 21, 2018 at 2:38 pm
On Windows 7 and Windows 10 you can delete a junction from command-line.
You can use rmdir (rd) to delete junctions on Windows ,example:
cmd /c "rmdir C:\Server\"
If rmdir gives you Access Denied error, try to use fsutil:
fsutil reparsepoint delete "C:\Server\"
More info here: Fsutil reparsepoint | Microsoft Docs
Additionally, you can use Junction (by Windows Sysinternals) like this:
junction -d "C:\Server\"
- Count and sort IP addresses in Nginx access logs
- User-Agent Strings of Perl, Wget, cURL, Python, Java
- Download Latest Raspbian ISO for Raspberry Pi
- What is Default Raspbian Raspberry Pi Password
- How to Install Pi-Hole on Raspbian for Raspberry Pi
- 3 Cards in a Row with Bootstrap 4.4
- Debug 502 Errors in Google Cloud Load Balancer
- Python if-then-else in one line example
- Example Linux server error logs when CPU is faulty
- Output multiple Linux commands into columns
- How to Disable Hibernation on Windows 10
- Disable Windows Defender on Windows 10 via Regedit
- Install Latest NVIDIA Drivers for Windows 10
- How to improve security of encrypted hard disks
- Get Server IP Address with Ifconfig and IP in Bash
- bash: ipconfig: command not found