RPGDot Network    
   

 
 
Sea Dogs
Display full image
Pic of the moment
More
pics from the gallery
 
 
Site Navigation

Main
   News
   Forums

Games
   Games Database
   Top 100
   Release List
   Support Files

Features
   Reviews
   Previews
   Interviews
   Editorials
   Diaries
   Misc

Download
   Gallery
   Music
   Screenshots
   Videos

Miscellaneous
   Staff Members
   Privacy Statement

FAQ
Members
Usergroups
Can't delete files
  View previous topic :: View next topic
RPGDot Forums > Absolutely Off Topic

Author Thread
MC_Renzy
Fearless Paladin
Fearless Paladin




Joined: 04 Nov 2001
Posts: 226
Can't delete files
   

I am running windows XP Pro SP
I am trying to delete and move a couple of folders and files(Avi files). I get this error message.

Cannot delete [Folder Name or File Name]: it is being used by another person or program
close any programs that might be using the file and try again.

The point is, no other program is using the files / folders. i have restarted the comp so many times , shutdoen antivirus but nothing seems to be working. Any ideas?


Edit:


Never mind, figured out that I can do it through the command prompt. For some reason explorer protects some AVI files.
Post Tue Jun 15, 2004 2:53 pm
 View user's profile
Val
Risen From Ashes
Risen From Ashes




Joined: 18 Feb 2002
Posts: 14724
Location: Utah, USA
   

Actually, it's a part of Microsoft's attempt to keep your system stable. If it prevents you from deleting files that a program is currently using, then it prevents that program from becoming unstable and thus causing the system from becoming unstable.
On occation, this means you'll bump into this error when deleting an old file because it is somehow still being used.
_________________
Freeeeeeedom! Thank heavens it's summer!
What do I have to show for my hard work? A piece of paper! Wee!
=Guardian, Moderator, UltimaDot Newshound=
Post Tue Jun 15, 2004 11:40 pm
 View user's profile
hwfanatic
Average Fanatic
Average Fanatic




Joined: 28 Oct 2002
Posts: 2850
Location: Belgrade, Serbia
   

quote:
Originally posted by Val
Actually, it's a part of Microsoft's attempt to keep your system stable.

The operating system does not do this on it's own account. It's the developer who initially sets the access politics to a certain file he/she wishes to maintain(if using the os as the interface in the first place). It is true that Windows introduces this method, but if not properly used by the coder, it can be a pain as you experienced. You see, when openning a file, the os does the dirty work for you and lets you access it using an identifier (a number to, be precise), also known as the handle (but a different kind of handle, opposing to the window one). When requesting such a thing from Windows, one must set those mentioned politics, and if needed, it (the file) can be reserved exclusively for use by the application. The problem appears (if you look at it that way) when developer overlooks to release the file handle once the application seizes to need the exclusive access.

This doesn't really help you, sorry, but I had to clear things up.
Post Wed Jun 23, 2004 10:10 pm
 View user's profile
MC_Renzy
Fearless Paladin
Fearless Paladin




Joined: 04 Nov 2001
Posts: 226
   

I figured it out. It was a certain .dll file that was protecting the avi's. Just removed the key from the registry and now it's working good.
Post Thu Jun 24, 2004 9:02 am
 View user's profile
MoonDragon
High Emperor
High Emperor




Joined: 25 May 2002
Posts: 1254
Location: Waterloo, Canada
   

quote:
Originally posted by hwfanatic
The problem appears (if you look at it that way) when developer overlooks to release the file handle once the application seizes to need the exclusive access.

This could not be his problem. All opened handles are gone when you restart the computer--which he did.

My guess is that the media player or some such program installs some form of background task spyware that is supposed to be "helpful" but does it in an akward manner which has rediculous side-effects.
_________________
(@)
Post Thu Jun 24, 2004 6:03 pm
 View user's profile
hwfanatic
Average Fanatic
Average Fanatic




Joined: 28 Oct 2002
Posts: 2850
Location: Belgrade, Serbia
   

quote:
Originally posted by MoonDragon
This could not be his problem. All opened handles are gone when you restart the computer--which he did.

Well, obviously, some binary reclaims the files upon starup.
Post Thu Jun 24, 2004 6:35 pm
 View user's profile
Toaster
Bread Alert
Bread Alert




Joined: 27 Jan 2003
Posts: 5475
Location: Sweden
   

The problem appears because explorer tries to preview the .avi file, and sometimes it can take several minutes after you've clicked the file until it's done. The solution is to remove the registry directory with the .dll file MC_Renzy talked about.
_________________

Tabbrowser Extensions
DictionarySearch
Post Thu Jun 24, 2004 9:58 pm
 View user's profile



All times are GMT.
The time now is Sat Apr 13, 2019 8:24 am



Powered by phpBB © 2001 phpBB Group
 
 
 
All original content of this site is copyrighted by RPGWatch. Copying or reproducing of any part of this site is strictly prohibited. Taking anything from this site without authorisation will be considered stealing and we'll be forced to visit you and jump on your legs until you give it back.