*****WELCOME TO A TREASURE OF TIPS AND TRICKS*****


Sunday, September 14, 2008

DELETING A FILE IN USE BY WINDOWS

If you're using Windows 95, 98, or Me, you can use WININIT.INI to delete this file. Check your Windows folder to see whether WININIT.INI already exists. If not, use Notepad to create a file containing just two lines:
[Rename]
nul=D:\PATHFILENAME.EXT
The portion of the second line after nul= should be the full pathname of the file you want deleted, using short filenames (for example, C:\PROGRA~1... rather than C:\Program Files...). To delete a folder, use dirnul= instead of nul=. If WININIT. INI already exists, simply add the appropriate line to the [Rename] section. Now restart Windows. The file will be deleted during the startup process, as will WININIT.INI itself.
Under Windows 2000 and Windows NT4, deleting a file that's in use is more difficult. Your best bet is to restart Windows and try to delete the file before you do anything else.

No comments:


***** PLEASE VISIT AGAIN | HAVE A NICE DAY*****