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\"
- Edit /etc/hosts on Mac OSX
- Set $_SERVER['REQUEST_URI'] when running PHP script from terminal
- View All Available Code Sign Certificates on USB Token
- Close program with ESC key in Delphi
- Create a Custom Mount Point with Noexec on Debian
- How to Secure /tmp and /var/tmp on your VPS
- IP anonymization with analytics.js - Google Analytics
- IP anonymization with gtag.js - Google Analytics
- Integrate Disqus on WordPress programmatically
- Disable Compression when Encrypting with GNU GPG
- ERROR 1932 (42S02): Table doesn't exist in engine
- Minify & Compress CSS with online tools
- SMS messages from 1-410-200-500 are a scam
- Email addresses associated with suspicious online shops
- Suspicious online shops from firstname.lastname@example.org