can't delete files - totally frustrated
Results 1 to 13 of 13

Thread: can't delete files - totally frustrated

  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    3

    can't delete files - totally frustrated

    Greetings. I am trying to delete folders I recovered using a data recovery program. I want to delete all I have recovered in order to do the recovery again. I cannot remove some files listed under temp internet files. Crazy - I just want them gone. There is other data in on the partition I cannot lose or I would format.

    I get the Access Denied: message when trying. I've played with permissions, setup different users, tried safe mode. Nothing is working.

    Any help would be most appreciated.

    The folders are large, 30 GB or bigger, going dir by dir is not an option.

    HELP!!

    Thanks in advance.

  2. #2
    Registered User Guts3d's Avatar
    Join Date
    Jan 2003
    Location
    Pittsburgh U.S.A.
    Posts
    2,328
    Have you tried putting it into another computer as a secondary drive and using that computer to delete them? I have a few of those U.S.B. to I.D.E. converters so I can do this without using the I.D.E. bus. But it should do the job either way. Good luck!
    " I don't like the idea of getting shot in the hand" -Blackie in "Rustlers Rhapsody"

    " It is a proud and lonely thing, to be a Stainless Steel Rat." - Slippery Jim DiGriz

  3. #3
    Registered User xpuser357's Avatar
    Join Date
    Apr 2004
    Location
    Poplar Bluff, Mo.
    Posts
    1,328
    Have you tried going in to safe mode and changing command names to delete them??

  4. #4
    Registered User
    Join Date
    Mar 2007
    Posts
    3

    tried both

    I have tried both suggestions. The drive in question is a 300 GB drive and can't be recognized by my older home system. And I have tried safe mode command prompt - no luck.

    I'm stuck and need to get this cleaned up NOW.

    Thanks for the suggestions.

  5. #5
    Intel Mod Platypus's Avatar
    Join Date
    Jan 2001
    Location
    Australia
    Posts
    5,783
    What commands have you tried from the prompt in safemode?

    Using commands like DEL and RD, you may be prevented from deleting because a file or folder has an attribute like system or read-only.

    If you haven't already done so, you could try using ATTRIB with the /s switch to remove attributes from all files in the tree, and the /d switch if necessary to remove attributes from folders(directories) if they are the problem.

    You could then use RMDIR (RD) with the /s switch to try to remove the entire tree (specified directory with all sub-directories and the files they contain).

    http://www.microsoft.com/resources/d....mspx?mfr=true

    http://www.microsoft.com/resources/d....mspx?mfr=true

  6. #6
    Registered User geoscomp's Avatar
    Join Date
    Apr 2002
    Location
    Minnesota
    Posts
    2,340
    When you tried playing with permissions, did you also try taking ownership of the files in safe mode?
    Computer Rescue Service

    "those who do not remember history are condemned to repeat it."

  7. #7
    Chat Operator Matridom's Avatar
    Join Date
    Jan 2002
    Location
    Ontario, Canada
    Posts
    3,778
    It's possible to create files with invalid file names that are impossible to delete. When i ran into this problem, it was my battle with removing securom, i had to use two programs:

    unlocker

    This handy little utility can delete pretty much anything. Securom had locked the file by adding into the registry "pending rename" for the file, causing the OS to lock it at all times.

    Though unrelated, the other app i ended up finding was "trashreg" (sorry no link handy), this removed "undeletable" reg entries.. i like the one called "SECUROM - CANNOT DELETE ME". It got toasted
    <Ferrit> Take 1 live chicken, cut the head off, dance around doing the hokey pokey and chanting: GO AWAY BAD VIRUS, GO AWAY BAD VIRUS
    -----------------------
    Windows 7 Pro x64
    Asus P5QL Deluxe
    Intel Q6600
    nVidia 8800 GTS 320
    6 gigs of Ram
    2x60 gig OCZ Vertex SSD (raid 0)
    WD Black 750 gig
    Antec Tri power 750 Watt PSU
    Lots of fans

  8. #8
    Intel Mod Platypus's Avatar
    Join Date
    Jan 2001
    Location
    Australia
    Posts
    5,783
    Thanks Mat, I knew there was a utility for that and couldn't think of it.

  9. #9
    Registered User
    Join Date
    Mar 2007
    Posts
    3

    can't delete invalid file

    Thanks for all the posts. I have tired all above and there are these particular files I cannot remove, rename, delete or copy. They exist in the Temporary Internet Files directory and the file name looks like this:
    click,zAIAANveAgCHQAQJOBAAIAUAEAAAAqWVtJJJ1WeSSS%2 Es45%alkjuklsajfooGHSJDGFH%creat[1].htm - it's actually longer than posted - just an example......

    Because of the length of the file name, the file is invalid, I cannot rename, delete, or use a utility to delete as it gives me a file too long error message - no kidding.

    I've tired unlock, and the file delete utility Delinvfile. No luck.

    This is a small file causing BIG problems. If anybody has any idea how to remove this crap, it would be most appreciated.

  10. #10
    Intel Mod Platypus's Avatar
    Join Date
    Jan 2001
    Location
    Australia
    Posts
    5,783
    You may be able to delete them by using the 8.3 format filename alias.

    This is included among the suggestions for handling undeletable files here:

    http://support.microsoft.com/kb/320081

  11. #11
    Driver Terrier NooNoo's Avatar
    Join Date
    Dec 2000
    Location
    UK
    Posts
    31,824
    If it's only in the temp internet files, move the location of temp internet files...then you should be able to get at the file because it's no longer enmeshed with ie. You should also see if that file is not deleting because it is in use.
    Never, ever approach a computer saying or even thinking "I will just do this quickly."

  12. #12
    Registered User WebHead's Avatar
    Join Date
    Oct 2000
    Posts
    8,208
    If worse came to worse, you could always mount the NTFS partition on a linux box and then remove the files that way. Probably sounds difficult but it's pretty easy if you have a linux box readily available.

    as root

    # mkdir /windata

    Where /dev/hda5 represents the NTFS slice
    # mount /dev/hda5 /windata/ -t ntfs -o nls=utf8,umask=0222

    # cd /windata

    # rm -rf <name-of-dir-or-files>

    Hello World

  13. #13
    Chat Operator Matridom's Avatar
    Join Date
    Jan 2002
    Location
    Ontario, Canada
    Posts
    3,778
    Quote Originally Posted by WebHead
    If worse came to worse, you could always mount the NTFS partition on a linux box and then remove the files that way. Probably sounds difficult but it's pretty easy if you have a linux box readily available.

    as root

    # mkdir /windata

    Where /dev/hda5 represents the NTFS slice
    # mount /dev/hda5 /windata/ -t ntfs -o nls=utf8,umask=0222

    # cd /windata

    # rm -rf <name-of-dir-or-files>

    I thought by default linux only had read access and that you had to install specific packages to get it to write/modify NTFS file system? However if all the new distros support full read/write, why not just use a live CD?
    <Ferrit> Take 1 live chicken, cut the head off, dance around doing the hokey pokey and chanting: GO AWAY BAD VIRUS, GO AWAY BAD VIRUS
    -----------------------
    Windows 7 Pro x64
    Asus P5QL Deluxe
    Intel Q6600
    nVidia 8800 GTS 320
    6 gigs of Ram
    2x60 gig OCZ Vertex SSD (raid 0)
    WD Black 750 gig
    Antec Tri power 750 Watt PSU
    Lots of fans

Similar Threads

  1. Replies: 14
    Last Post: November 10th, 2006, 05:47 AM
  2. Stange files, folders and processes
    By mastapsi in forum Windows XP
    Replies: 4
    Last Post: July 21st, 2005, 06:22 AM
  3. Can't delete folders containing mp3 files
    By willie_eckaslike in forum Windows XP
    Replies: 3
    Last Post: May 11th, 2005, 05:52 PM
  4. VX2 help please
    By geeksRus in forum Spyware & Antivirus - Security
    Replies: 4
    Last Post: January 8th, 2005, 04:01 AM
  5. files I can't delete!
    By jubalee in forum Windows XP
    Replies: 12
    Last Post: September 6th, 2002, 01:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •