When you want to completely delete a directory and it has files with long names in it you can use
Let’s assume you want to delete a folder under the name
dir_to_delete from a command line you can do the following:
robocopy empty_dir dir_to_delete /s /mir
This can happen when developing with NodeJS and node_modules folder contains a very deep file structure.