New
#1
Is the M: drive a USB stick? If so then it could be corrupt.
If it is corrupt then try to save what you can from it and then reformat it.
Tried everything on this page and what finally worked was the DelinvFile tool - which deleted the folder like butter.
One thing I did come across though trying to use the command prompt was that I could not even target any folders that had a space in their name. So in order to dig down to the level I wanted to target, I had to manually/temporarily remove the space character in any folder names I came across. This does NOT seem normal to me.
Can you confirm please if this is normal or not?
A space is seen as a delimiter marking the end of a text string in command prompt or Powershell. To pass a string with spaces in it to a command you need to put in in quotes. eg:RMDIR "C:\A folder with spaces in its name\"
That appears to have been the error in your PS screenshot earlier, you should have used quotes.
![]()