3

I was working on my code and tried to run a migration against a my local database. Migration couldn't be applied but this folder was created: picture-1 picture-2

Soon after, my whole solution couldn't be loaded and I cannot still delete this folder. What do I do? Where did it come from?

I tried the following:

1) Reboot

2) Safe boot

3) Open CMD with administrator rights and run rmdir "'.." but that gives me an error stating that such path doesn't exist

13
  • 1
    Have you tried rebooting first?
    – DavidPostill
    Apr 17, 2020 at 16:39
  • 1
    You can get Unlocker 1.92 (MajorGeeks) and use that to delete the items in the folder and then delete the folder. Unlocker removes locking handles and you often have to restart after deleting files.
    – John
    Apr 17, 2020 at 16:43
  • 1
    @Meow_ly no, it doesn't allow me to do that (to move the folder). Gives the same error as in the picture.
    – droft1312
    Apr 17, 2020 at 16:48
  • 1
    You probably have to use command prompt and get in from a different stream. Can you delete the folder if you use the following path? \\.\D:\Projects\blur\blur\Infrastructure\'.. so basically preceed the path with \\.\
    – LPChip
    Apr 17, 2020 at 17:24
  • 2
    Are you sure about the folder name? If it contains a backspace or something similar you don't see what you should enter as folder name to delete. I would copy all useful files and (try to) delete the parent folder recursively.
    – harper
    Apr 17, 2020 at 17:41

3 Answers 3

1

I got past similar stuff with:

cd \just\above\the\problem\folder

rem dir should show the problem folder name

rmdir /s /q "problem folder"

6
  • "rm" unknown command or file name. This is a Windows question.
    – harper
    Apr 18, 2020 at 13:35
  • Sorry, the command is "rmdir". Any doubts, try rmdir /? to see the command line optioins. Apr 18, 2020 at 19:44
  • 1
    So, why not use edit and add this correction in the answer?
    – Io-oI
    Apr 18, 2020 at 20:06
  • Maybe because you've only got 5 minutes to edit a comment...?
    – user1019780
    Apr 19, 2020 at 8:53
  • @Didier They're talking about an answer, not a comment. Apr 20, 2020 at 16:25
0

Try to use Unlocker Program.

You can download at :
https://www.softpedia.com/get/System/System-Miscellaneous/Unlocker.shtml#download

After you install the program:
1. Open the program.
2. The Browse File or Folder Window will be shown. Locate this to your undeletable folder. Then click OK.
Browse File or Folder Window

  1. On the action selection, select Delete and press OK.
    enter image description here
-1

The solution is to "cd" into the folder's grandparent and recursively delete the parent folder by running rmdir <folder> /s /q.

3
  • Downvoted because you propose an command that is not supported by Windows although the question is tagged with "Windows".
    – harper
    Apr 19, 2020 at 5:31
  • 1
    @harper my apologies, I have turned on the possibility of using linux commands on my windows machine and forgot those commands are not available by default
    – droft1312
    Apr 19, 2020 at 7:21
  • No need to apologise. Take it as an encouragement to improve your answer.
    – harper
    Apr 20, 2020 at 18:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .