![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg0V2ICkNcrvTkPc7BffxCj7uk2rXASp5gOfdkDTlLQa0EJsmCdeMYAg4ptsz-IkGeR877rngxW-eerbPvoksNkcQEG66PtYWpmKld0x9F2zv3WCYTRZZcvSTMGMSvwFvsj9c0p08gf2w/s400/del.jpg)
Working Status
Deleting a file is usually quite simple. The application that you’re working in may provide you with a warning before you delete a file, asking you to confirm that you indeed want to delete the file before proceeding. Once confirmation is given, that’s all it takes. Windows versions since Windows 95 all feature the Recycle Bin, the trash can icon on your Desktop that temporarily stores deleted files. The Recycle Bin is there in case you have second thoughts and decide you need a deleted file after all and is just an area on your hard disk set aside to temporarily hold files marked for deletion. Files stored in the Recycle Bin may last for a while, depending on the size of the Bin. (By default, Windows makes the Recycle Bin 10% of whatever the hard disk capacity is.) But be aware that the Recycle Bin doesn’t exist in certain situations. For example, if you delete a file stored in a thumb drive, there won’t be any Recycle Bin to bail you out if you change your mind. Ditto for network drives, which usually don’t have a Recycle Bin either; usually, a file stored in a network drive is immediately deleted. But, since network drives are frequently backed up by businesses, there may be a copy of the file that you can retrieve from backup media if you accidentally delete something you needed after all.
Try, Try Again
You try to delete a file, but you receive a warning telling you the file can’t be deleted. When this occurs, the first step is to determine whether the file is in use by a program. For example, if you attempt to delete a file that is open in Microsoft Word, switch to Word and then close the file within Word. Once you close the file in Word, you should be able to delete it with no problem. In most cases, Windows XP tells you the application that is using the file in question, so it’s pretty simple to close the file and then delete it. You can also get a clue as to the application that is using the file by the file’s icon or the extension. For example, if a file extension is .PDF (Portable Document Format), you know this is an Adobe Acrobat (www.adobe.com) file that is viewed using Adobe Acrobat or Adobe Acrobat Reader. Sometimes, even closing an application using a file isn’t enough. This can happen because an application does not play nice and refuses to let go of the file even though the application is closed. In some cases, an application may appear closed (you exited the application), but it is still running in the background.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFOPhuFGkH4ZznYc-FOBX1mPz3cckIa7B03SZyNvV3jNxHoPEBIMvnsNtq9Ka7eqzajdfcDCRe4hDYMOZ89JV84-NOS7m5OUD0sVHr6inPhbMmP11eNvKrs7R12np3HC616TTNs_xwivU/s320/task.jpg)
Video File Issues
It is possible that you may receive an Access Denied or Windows Can’t Delete The File Because It’s In Use error message while trying to delete a file ending in the .AVI (Audio Video Interleave) file extension. This problem can occur because WinXP creates thumbnails for video files (such as AVI files) that show the first frame of the video. This makes it easy for users to see what video content a file contains without having to open it. To provide this functionality, WinXP uses a file called the Shell Media Extension (Shmedia.dll). This feature usually works perfectly, but whenever a video file is corrupted or not playing nice with Shmedia.dll, the system “locks” the file and doesn’t release it, even after you reboot. To solve this problem, you can do one of two things. First, you can open up a command line by clicking Start and Run and typing cmd in the text box. At the command prompt, type CD drive where file is stored:\folder where file is stored and press ENTER. For example, if the file is kept in a folder called Video in your C: drive, type CD C:\Video to open the folder. Type dir at the command prompt to see the list of files contained in the folder and then type DEL file name (where file name is the name of the file you want to delete) to delete the file. If the name of the folder is greater than six characters, you must shorten it by entering ~1 after the first six characters. For example, if the name of the folder you are trying to get to is called Program Files, to open the folder from a command prompt you must type CD C:\progra~1 to open the folder. That’s because the command prompt environment can’t handle long file names. The second approach requires modifying your Windows Registry. (NOTE: Making changes to the system using the Registry Editor may cause errors that render the operating system unstable. You should always create a backup before editing the Registry.) To do this, click Start and Run and then type regedit in the text box. With Registry Editor open, locate the following key: HKEY_CLASSES_ROOT\SystemFileAssociations\.avi\shellex\PropertyHandler\{87D62D94-71B3-4b9a-9489-5FE
6850DC73E}. Click the key in the right-hand panel of the Registry Editor to highlight it, right-click the key, and select Delete from the context menu. You’ll give up the thumbnail previews of video files feature, but you’ll now be able to delete the offending AVI file.
For Your Own Protection
You keep deleting a file in one of your Windows system folders, but whenever you open the folder that contained the file, the file is there again. What’s going on? To prevent users from accidentally destroying their Windows installations, Win2000/XP contains a feature which is enabled by default called Windows File Protection. (The feature is called System File Protection in WinMe.) If you delete a file that Windows deems important, that file is automatically restored to its proper location from a cache of critical files that Windows keeps on your hard drive. If you’re trying to delete a file located in any of the Windows system folders, chances are you won’t be able to do it unless you disable Windows File Protection. And disabling Windows File Protection, while straightforward, requires some editing of a DLL file using a hex editor. Unless you have a really good reason to do this, you’re better off leaving Windows File Protection alone. It’s there for your protection. Only technically savvy users who are very experienced at tweaking and customizing their systems should attempt to remove Windows File Protection and delete files stored in the Windows system folders.
1 comments:
http://krojamsoft.com/filecleaner.php
Post a Comment