Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

WIN2K File Removal Problem

  • 28-11-2002 1:19pm
    #1
    Registered Users, Registered Users 2 Posts: 1,278 ✭✭✭


    OK I've got a Windows 2000 box with a particular directory I want to remove. When I try to SHIFT-DELETE the folder, I get the

    "Cannot delete [filename] : Cannot find the specified file.
    Make sure you specify the correct path and filename."

    error. The files in the folder are obviously corrupt, I cannot rename them, move them or delete them.

    Does anyone have any tips on removing a corrupt folder without reformatting the whole drive ?

    Cheers
    jAH


Comments

  • Registered Users, Registered Users 2 Posts: 6,240 ✭✭✭hussey


    did you try it in dos??


  • Closed Accounts Posts: 14,483 ✭✭✭✭daveirl


    This post has been deleted.


  • Registered Users, Registered Users 2 Posts: 6,240 ✭✭✭hussey


    sorry

    I had a similar problem a while ago
    so i booted up using a resue disk
    went in to c: and did a delete from there


  • Closed Accounts Posts: 1,478 ✭✭✭tribble


    Try scandisc - should find and repair the damage allowing you to delete the folder...

    b


  • Registered Users, Registered Users 2 Posts: 319 ✭✭java


    Make sure the files or folder arent read only in properties


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 1,278 ✭✭✭jArgHA


    Thanks for the responses,

    I have tried to remove the folder in dos, but there's about 15 subfolders, some with blank names (folder called ' ') which dos will not recognize.

    Does anyone know what 'Disk Clenup' and 'Disk Defragmenter' are used for in Start>Programs>Accessories>System Tools ?

    Slán,
    jAH


  • Registered Users, Registered Users 2 Posts: 4,616 ✭✭✭milltown


    If so, deltree the folder and it will take everything inside with it.


  • Registered Users, Registered Users 2 Posts: 777 ✭✭✭MarVeL


    You probably are already the owner but if not try taking ownership of the files/folder. That may do the trick.


  • Closed Accounts Posts: 14,483 ✭✭✭✭daveirl


    This post has been deleted.


  • Registered Users, Registered Users 2 Posts: 4,616 ✭✭✭milltown


    Get her!


  • Advertisement
  • Closed Accounts Posts: 1,006 ✭✭✭theciscokid


    deltree is a powerful ally,

    but try ctrl+alt+del, and look for a corresponding process that could be ended which will allow you to delete the folder,

    also go to run, type regedit , then highlight the computer icon,

    press ctrl+f , type similar search strings to look for, ex. name of folder or maybe some contents then delete them all,

    should work everytime :)


  • Registered Users, Registered Users 2 Posts: 1,237 ✭✭✭GUI


    if its ntfs ..
    ntfs chdisk scan will remove it if it is a corrupt directory

    it verifies indexes and sectors they point to


  • Closed Accounts Posts: 6,143 ✭✭✭spongebob


    But y'all, IF it is a normally hidden system directory such as \system32\drivers then there is a backup in the \dllcache directory which cannot be deleted.

    in addition if you DO appear to delete them from \system32\drivers they mysteriously come back again.... from dllcache of course.

    if not a system directory then chkdsk /f /r at the dos command should deal with the issue (during your next reboot)

    M


  • Closed Accounts Posts: 1,719 ✭✭✭Ruaidhri


    get your hands on a bootdisk ( a *nix one with NTFS support)
    use what ever delete tool they have on the disk. good luck with it


  • Registered Users, Registered Users 2 Posts: 1,278 ✭✭✭jArgHA


    Milltown was along the right lines with the 'deltree' command. This command does not exist on Windows 2000 Server however, but the equiavlent would be the 'rd' command.

    Simply running
    >RD /S /Q <Drive:>\FolderName

    Removed the folder, all of it's subdirectories and files within those subdirectories - it's easy when u know how !

    Thanks for all the help lads,
    jAH


Advertisement