re: It's possible!
Friday, February 11, 2005 at 3:45 am Windows XP Annoyances Discussion Forum
Posted by Rick
(1 messages posted)
WORKED THE FIRST TIME, GREAT ADVISE!
On Friday, January 24, 2003 at 4:45 pm, RobinWood wrote:
>
>"No pain", but this method won't work in most difficult cases... like invalid files
>names, folders within recycle bin (harckers sometimes use Norton recycler folder
>to store files!), or unwanted files uploaded on your FTP server.
>
>After a few hours I found a solution (I have win XP and two NTFS partitions). It
>should work in a few very annoying cases. At first, I've tried many things using
>the command (dos-like) windows of XP, then using safe mode, using rename, move,
replace,
>check disk, ending Explorer.exe, rebooting, even changing permissions (owner), using
>cacls.exe, rather files utilities, etc. all had no effect. Nothing succeeded to
remove
>strange files within my recycle bin. I could move them, but never delete them. At
>last I found an article on Microsoft support site. I had many file (using 2 GB of
>my Harddrive!) with invalid names and extension (something like 00024590.), and
even
>no way to change files properties. Each time I tried to remove them I got the famous
>"Cannot find the specified file" or "invalid path", "cannot delete"... messages.
>If you are in the same case, try this:
>If the files you want to delete are on c:\temp, go click on Run in the Start Menu
>and launch the command windows (type: cmd). Then type exactly:
>del "\\?\c:\temp\FILENAME.XXX" (XXX = file extension)
>Confirm delete by YES. If you have many files in the same directory or if you have
>no valid file extension, just type:
>del "\\?\c:\temp\*.*"
>(It works! but don't forge the " ")
>There was one file that I could not delete. It looked exactly like others files
but
>I cannot delete it. Fortunatly, I found an option to delete it (it's a problem related
>with 8.3 File names on NTFS). Just add this command option:
>del "\\?\c:\temp\FILENAME.XXX" /a
>or, if you have a few file or files with invalid extension:
>del "\\?\c:\temp\*.*" /a
>It should be OK. Then, you can remove the empty folder just using "rd" command (ex:
>c:\rd temp)
>I cannot explain what is the relation with "8.3 Files names" on NTFS and "uneradicable
>files". But if this last option still not work, try to desactived "8.3 files names"
>(it's only a registry value to change, you can find this easily on the web, or use
>a tweak program, like Tweak-XP pro - then, reboot and try again!).
>
>You can find more information on the Microsoft page, with a few others methods to
>delete unwanted files, depending on your problem:
>http://support.microsoft.com/default.aspx?scid=kb;en-us;320081
>
>Good luck !
>PS: If it does not work, and to make sure quickly that your problem has no relation
>with windows permissions, type the command CACLS at the root of your HD, followed
>by the path of the directory containing the undeletable files. Example:
>cacls c:\temp
>If your computer name is BIGBOSS, your user name Robert, you should see (at least):
>BIGBOSS\Robert: (OI) (CI) F
>The "F" means you have full access. So, there is probably no problem with permissions.
>You can find more info about cacls.exe commands on the web.
>
- Written in response to:
- re: It's possible! (RobinWood: Friday, January 24, 2003 at 4:45 pm)
There are presently no replies to this message.
|
|
All messages in this thread [show all]
 |  |  |  |  |  |  | Bravo! (jgirl: Wed, May 21, 2003, 5:58 am) |
 |  |  |  |  |  |  | uau (tartar: Mon, Feb 9, 2004, 2:11 am) |
 |  |  |  |  |  |  |  | re: uau (electroguy: Tue, Aug 17, 2004, 8:36 pm) |
 |  |  |  |  |  |  |  |  | re: uau (ah-jay: Wed, Oct 17, 2007, 1:05 am) |
 |  |  |  |  |  |  | re: It's possible! (Rick: Fri, Feb 11, 2005, 3:45 am) |
| |
| |
Return to the Windows XP Discussion Forum
|
|