Felix2112 Posted November 17, 2006 Share Posted November 17, 2006 I have one .avi movie that I cannot erase, move or rename... (It is being used by another person or program) I had this trouble a while ago and I think there's a command or a file to delete to correc that, I'm not sure... Thanx for your help. Link to comment Share on other sites More sharing options...
cluberti Posted November 17, 2006 Share Posted November 17, 2006 Download Process Explorer, and use the "Find" menu. Type the name of the .avi file, and you'll see what process or processes have a handle to the file. Link to comment Share on other sites More sharing options...
Felix2112 Posted November 17, 2006 Author Share Posted November 17, 2006 Thanks for the fast answer... The only process found is explorer.exe. I don't think it's realy used by another prog or something, it's just a windows xp bug and what is annoying me is that I had the fix. Link to comment Share on other sites More sharing options...
joll69 Posted November 17, 2006 Share Posted November 17, 2006 explorer.exe (aka the shell) is (or was) trying to grab media information about that file... all i do in that case is run a cmd window from that folder, use task manager to end explorer.exe (dont close task manager yet), use the cmd window to delete the avi that wont go away (del <filename>)...use tab to autocomplete the name if needed...then go to file->new task in task manager..type 'explorer' (without quotes), then delete the folder if ya want...if this doesnt work, something other than explorer is trying to access the file... Link to comment Share on other sites More sharing options...
HyperHacker Posted November 17, 2006 Share Posted November 17, 2006 When that happens Process Explorer should have highlighted a handle in the bottom pane. If the only program that has the file open is explorer.exe (and it's not being copied or read by another user or something), you can probably safely close the handle, which will let you delete it. Link to comment Share on other sites More sharing options...
Jeremy Posted November 17, 2006 Share Posted November 17, 2006 (edited) Unlocker Edited November 17, 2006 by Jeremy Link to comment Share on other sites More sharing options...
cluberti Posted November 17, 2006 Share Posted November 17, 2006 It's a bit of a stretch to call it a bug without any knowledge other than a handle open by explorer.exe. Also remember that explorer.exe runs Microsoft and 3rd party code - if you run autoruns and shellexview, disable all non-Microsoft items and reboot, and the problem with explorer.exe still persistst, then you have more of a case. For now, it could be ANY application on your system with a hook into explorer.exe causing this, and that's more likely than explorer.exe holding a handle open for no reason - especially considering this would likely happen to all video (or at least .avi files) if a bug in explorer.exe exists, and it'd probably be a pretty well-known one by now, too. Link to comment Share on other sites More sharing options...
jcarle Posted November 17, 2006 Share Posted November 17, 2006 Also, most of the time that happens with large AVIs, usually 700mb movies and things as such. Often, if you click on it, wait for the information to appear in the status bar of explorer, THEN try to delete it, everything's fine. If that still doesn't work, then I would also recommend using Unlocker. Link to comment Share on other sites More sharing options...
Sonic Posted November 17, 2006 Share Posted November 17, 2006 For me I use this regtweak and I never had problem with .avi ...[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\.avi\shellex\PropertyHandler] Link to comment Share on other sites More sharing options...
jcarle Posted November 17, 2006 Share Posted November 17, 2006 For me I use this regtweak and I never had problem with .avi ...[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\.avi\shellex\PropertyHandler]Doing so should be said with warning because you will no longer be able to view the AVI properties within Explorer. Link to comment Share on other sites More sharing options...
Felix2112 Posted November 18, 2006 Author Share Posted November 18, 2006 SUCCESS!!!! Unlocker did the trick. Thanks to all again.... Merci a tous Link to comment Share on other sites More sharing options...
gunsmokingman Posted November 18, 2006 Share Posted November 18, 2006 I have had the same problem so I wroye a script that will delete the file.All I do now is drag the file onto this script.Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject") Dim DelFile For Each DelFile in Wscript.Arguments : Fso.DeleteFile(DelFile) : NextThread to read more Here is a link to a rar file with the above script.Drag_And_Drop_Delete Link to comment Share on other sites More sharing options...
LLXX Posted November 18, 2006 Share Posted November 18, 2006 Enough with you and your scripts... He solved the problem and posted half an hour before you. Link to comment Share on other sites More sharing options...
gunsmokingman Posted November 18, 2006 Share Posted November 18, 2006 Enough with you and your scripts... He solved the problem and posted half an hour before you.So who died and made you god.Yet you choosed to reply what does that say about you. Link to comment Share on other sites More sharing options...
jcarle Posted November 18, 2006 Share Posted November 18, 2006 So who died and made you god.Yet you choosed to reply what does that say about you.Dude, chill and get off your horse. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now