How to delete a file already in use by Windows

***** PROBLEM *****
How to delete a file already in use by Windows?
~~~~~ SOLUTION ~~~~~
1. Create the file:
\WINDOWS\WININIT.INI
2. Add the following 2 lines:
[Rename]
nul=C:\SHORTPATHNAME\SHORTFILENAME.EXT
You will need the DOS short name, not the Windows' long name.
3. Save > Restart Windows
The file will be deleted when you restart.

Comments

No comments.