0

I just downloaded Minecraft. When I pushed play, it finished, but then it loaded again. So I tried to delete the .minecraft folder, but it said the file is open in another program.

  • 2
    Did you still have the minecraft launcher open when you tried to delete the folder? – LLF Jul 28 '14 at 19:58
  • Open task manager, find javaw.exe under processes, right click it and click end process tree. Retry deleting the .minecraft folder. – Caleb Jul 28 '14 at 20:55
6

Restart your computer, this should stop the process that is using the .minecraft folder so you can delete it.

3

Close completely every minecraft related program, then retry. You can't delete something if its data is being used by something else.

0
  1. Open an elevated cmd (run as administrator)

  2. In the command prompt, type list volume and press Enter.

    This will let you see what the drive letter is for the drive that you want to delete the folder in since it may not always be the same drive letter that it is in Windows.

  3. After making note of the drive letter, type exit and press Enter.

  4. In the command prompt, type the command below and press Enter.

    RD /S /Q "Full Path of Folder"
    

    Substitute Full Path of Folder within quotes below with your folder's full path within quotes instead.

    For example, if I wanted to delete a folder named Folder on my desktop, I would type this command below.

    RD /S /Q "C:\Users\UserName\Desktop\Folder"
    
  5. The folder should now be deleted. Close the command prompt.

    If you used a command prompt at boot, then also close the System Recovery Options window and restart the computer.

0

I use this software to delete these kinda "Hard-to-Delete" files.

Just right click on the file and select its option. You can then either kill the process using it, or move the file, or have it deleted.

Hope this helps!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.