![Free Draw.io 21.4.0 for iphone instal](https://cdn2.cdnme.se/5447227/9-3/screenshot_1_64e629469606ee7f889a24a7.jpg)
![free PortableApps Platform 26.0 free PortableApps Platform 26.0](https://cdn2.portableapps.com/platform_on_win10.png)
What happens? As NSIS uses standard Windows calls, it checks to see if a given directory is empty before removing directory for commands like RMDir. Junctions on Windows are incredibly buggy and probably shouldn't be used. Personally, I avoid junctions and recommend against them full stop. Some users prefer to use junctions, though. For apps like Firefox and Thunderbird, the best way to do this is to use the built-in profile manager to point to a profile on your secondary drive. Why do this? Some users use junction points within APPDATA to redirect specific directories to other drives for their local apps. Essentially, it's an RMDir (without the /r) but checking to see if the directory referenced is a REPARSE_POINT first.
![free PortableApps Platform 26.0 free PortableApps Platform 26.0](https://i.pinimg.com/originals/81/06/d5/8106d5528320799ee550b49dc8a790ea.png)
I'm testing an NSIS function that will remove an empty directory after checking if it is a junction.
![Free Draw.io 21.4.0 for iphone instal](https://cdn2.cdnme.se/5447227/9-3/screenshot_1_64e629469606ee7f889a24a7.jpg)