Please report all spam threads, posts and suspicious members. We receive spam notifications and will take immediate action!
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: Can't delete a file in WinXP




  1. #1
    Join Date
    Oct 2002
    Location
    Michigan
    Posts
    98

    Default

    Whenever I try to delete a certain file, I get the following message:

    "Cannot delete filename: Access is denied. Make sure the disk is not full or write-protected and that the file is not currently in use."

    But, the disk is not full, write-protected, nor is the file currently in use. I checked the microsoft guide, and it told me to have my computer/system administrator grant me permission to delete such a file. Uhhh, I AM the computer/system administrator.

    Does anybody know how to get around this?

    Past failing techniques: cut and past, move to folder, right click and choose delete, hitting shift + delete, entering safe mode and trying the above.

    This folder was recently on another partition, and I used partitionmagic 8.0 to move it. The entire folder's contents are now deleted, but I can't delete the folder itself!
    Owner of the computer "Alatar the Blue"

    Athlon XP FX-53
    MSI NeoPlatinum2
    2 GB Kingston PC 3200 CL2 RAM
    ATI x800 XT
    Creative Labs Audigy 2 ZS
    21" Viewsonic Flat CRT
    Logitech Z-680 speakers
    2 x WD Raptor II
    120 GB Western Digital SE SATA HD
    Windows XP Home SP2

  2. #2
    Join Date
    Mar 2003
    Posts
    133

    Default

    Which folder are you trying to delete?? Is a system folder??

    When I got that message I just reboot and delete the folder, maybe some damn process didn't "free" the folder...

    Have you tried to delete the folder from a "command" window???

  3. #3
    Join Date
    Feb 2003
    Location
    No where
    Posts
    445

    Default

    Ah yes, I have the same problem, also from Partition Magic. I just gave up after getting that msg though. But now that i think of it, you should be able to boot into the recovery console and delete it from there. Just insert your XP disc and press R when prompted. It works like dos, so the command would be:

    del c:\folder

    should do the trick I would think, but then again if safe mode didn't, Im not too sure.

    EDIT: The command would

    rd c:\folder

    not del because rd is to remove a directory (hence RD being the command)

  4. #4
    Join Date
    Feb 2003
    Posts
    55

    Default

    Go to start, then run and type "cmd" (without quotes) and hit enter.

    Now navigate to the directory where the file you want to delete is found and type "del filename" (without quotes, replace filename with name of file).

    I am not sure if this will work but it is worth a shot.

  5. #5
    Join Date
    Jul 2002
    Location
    Canberra, Australia
    Posts
    1,158

    Default

    THe folder is still being referenced by something somewhere. Even if it's not in the startup items itself, some other program may require access to it and hence Windows won't let you delete it.

    You'll just have to make sure you find out what that other program/app is.

    Go to start>Run and type MSCONFIG. Look around all your startup parameters, startup items etc. and see what it could be.

  6. #6
    Join Date
    Mar 2003
    Posts
    133

    Default

    When you are in the command window, goto to a directory before the one you want to delete and write "rd directoryname" without quotes, be sure that the directory is empty. You can see if the directory is not empty with "dir /a".

  7. #7
    Join Date
    Oct 2002
    Location
    Michigan
    Posts
    98

    Default

    I opened up the cmd, and tried del. Didn't work. Tried rd, and got this message:

    the directory is not empty

    Next opened its dir, and got this:

    Directory of D:\PSbeta

    Volume in drive D has no label
    Volume serial number is A4E7-977B

    05/20/03 4:21pm <DIR>
    05/20/03 4:21pm <DIR>
    0 file(s) 0 bytes
    2 DIR(s) 36,118, 958, 080 bytes free
    </DIR>
    </DIR>
    Thanks for the help so far.
    Owner of the computer "Alatar the Blue"

    Athlon XP FX-53
    MSI NeoPlatinum2
    2 GB Kingston PC 3200 CL2 RAM
    ATI x800 XT
    Creative Labs Audigy 2 ZS
    21" Viewsonic Flat CRT
    Logitech Z-680 speakers
    2 x WD Raptor II
    120 GB Western Digital SE SATA HD
    Windows XP Home SP2

  8. #8
    Join Date
    Mar 2003
    Posts
    133

    Default

    Use the "dir /a" to see all files or better in the Explorer goto Tools->Folder options->View, there tick "Show hidden files and folders"

    After that you can now delete all the files that were hidden.

    Here is the complete guide to tweak your Windows XP courtesy of PersianInmortal

    http://www.tweaktown.com/document.ph...=guide&dId=324

  9. #9
    Join Date
    Oct 2002
    Location
    Michigan
    Posts
    98

    Default

    there are no hidden files in there. Crap.
    Owner of the computer "Alatar the Blue"

    Athlon XP FX-53
    MSI NeoPlatinum2
    2 GB Kingston PC 3200 CL2 RAM
    ATI x800 XT
    Creative Labs Audigy 2 ZS
    21" Viewsonic Flat CRT
    Logitech Z-680 speakers
    2 x WD Raptor II
    120 GB Western Digital SE SATA HD
    Windows XP Home SP2

  10. #10
    Beefy Guest

    Default

    What file system is the drive? If it's FAT32, then you can simply use an old boot disk and delete it that way.

Page 1 of 4 123 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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