A quick powershell function to use Robocopy to delete a full directory.
Deleting folders using Robocopy is a quicker, more robust method of deleting directories. It can also deal with the ‘path too long’ issue encountered by File Explorer’s directory deletion.
Usage
RoboDelete -Path <path-to-folder>
0 Comments