i am unable to delete matroska files .

#1
i have some movies or shows i have downloaded , and after watching them , i was unable to delete them .
i have tried running cmd.exe but it it didn't work .
it said the file can not be accessed .
when i try to delete it it says that the file is open on windows explorer .
i tried reading other threads but couldn't really see any solutions for my problem .
can anyone help me please ?
this is grabbing to much disk space .
thank you guys ....
 


#2
Safe mode. Highlight file(s). Delete key on keyboard. Boot to normal mode.
 


#3
ok . thanks , but sorry for the stupid question .
but how do i start in safe mode .
i treid to reboot , and i can't see any option to do so .
 


#5
Shutdown machine or choose restart. As it's starting up, keep pressing f8 on the keyboard until the choice shows.
 


#6
i'm sorry but that didn't help . i booted in safe mode , and it gave me the same message . it cannot delete the file because it's in use by windows explorer .
any other suggestions ?
 


#7
i'm sorry but that didn't help . i booted in safe mode , and it gave me the same message . it cannot delete the file because it's in use by windows explorer .
any other suggestions ?
 


#8
Open an elevated command prompt in safe mode.

Then use task manager to end explorer.exe.

Run this command:

chdir /d C:\{folderlocationhere}

to go to the directory with the .mkv files.

Then run this command:

del nameoffile.mkv
 


#9
thanks . it worked . but is there another way easier for next time ?
or tell me what can i avoid in order that it won't happen again ?
maybe use a different player ?
 


#10
You're welcome. Uninstall all crappy codecs and codec packs you've installed. Install only ffdshow after.
 


#11
There is a conflict between Divx and internet explorer. However, what I suggest is this:
Always download a mkv file to a seperate folder before adding to a list of other films etc.
If it is a mkv file that will not delete delete the folder, if this dosn't work double up the folder.
All mkv files that I have have been tested in this fashion. You can delete Divx but you may
need the codex and will have to obtain from a different souce.
 


#12
Sometimes we cannot delete some files as they become corrupted and for other reasons.If you want to know the perfect answer of this question then must go to the link given
 


#13
I have found an alternative solution which does not need safe mode
1. find the full path name of the file to delete
e.g.
C:\Users\Nick\Documents\downloads\film.MKV
2. Open up notepad type in

DEL C:\Users\Nick\Documents\downloads\film.MKV
PAUSE

3. Save the file as a .CMD file- I used a different folder but this is not necessary

4. Get the full path name of the CMD file into your clipboard
e.g.

C:\Users\Nick\Documents\del.cmd

5. Close all open explorer windows

6.Open task manager
7.Click on the processes tab
8.Select explorer click on end process
9.click on applications tab
10. click on new task
11. paste in details from clipboard e.g.C:\Users\Nick\Documents\del.cmd

file will be deleted

12.Click on new task
13. type explorer
 


This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.