directorie can't be removed

manox 1 Reputation point
2020-08-06T14:10:53.113+00:00

Hi
I'm trying to remove a directory in a filesystem.
When I try to remove it in explorer I'm the error it item not found.
I tried to remove it with rmdir "directory" and the error is system cannot find the file specified.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,136 questions
0 comments No comments
{count} votes

6 answers

Sort by: Most helpful
  1. Vicky Wang 2,731 Reputation points
    2020-08-07T09:20:31.467+00:00

    Hi,
    Did you try sudo rm -r. What kind of files are there? You could also delete all the files first then delete the folder. It's extra work, but sometimes it is worth it to get the job done.
    Hope this information can help you
    Best wishes
    Vicky

    0 comments No comments

  2. manox 1 Reputation point
    2020-08-07T11:09:43.027+00:00

    Hi
    This is windows 2012R2 so I used run as an administrator for cmd.
    The problem inst with permission but the file doesn't exist it only shows in explorer.

    0 comments No comments

  3. manox 1 Reputation point
    2020-08-07T11:10:13.157+00:00

    Hi
    This is windows 2012R2 so I used run as an administrator for cmd.
    The problem inst with permission but the file doesn't exist it only shows in explorer.

    0 comments No comments

  4. Vicky Wang 2,731 Reputation points
    2020-08-17T09:29:42.893+00:00

    Hi, have you tried any of these methods?
    Fix "Could Not Find This Item" When Deleting in Windows 7

    • adapt as necessary to bring up to date e.g. use Fileassassin instead of Delinvfile

    Folder Delete Error No longer located in - Microsoft Community

    (Refs to command prompt actions are likely to be identical although these are old posts)

    reference:https://helpdeskgeek.com/help-desk/fix-could-not-find-this-item-when-deleting-in-windows/

    0 comments No comments

  5. Vicky Wang 2,731 Reputation points
    2020-08-24T08:14:51.717+00:00

    Hi,
     
    Just checking in to see if the information provided was helpful. Please let us know if you would like further assistance.
     
    Best Regards,
    Vicky

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.