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

Can't delete corrupt folder

Options
  • 26-04-2010 11:32am
    #1
    Registered Users Posts: 5,391 ✭✭✭


    I've got a corrupt folder on one of my drives which I can't manage to delete :(

    I've tried holding SHIFT and deleting, tried deleting it from safe mode but nothing worked :mad:

    Any idea's?

    MSG I get is: "Can not delete FOLDER: the directory is not empty"


Comments

  • Registered Users Posts: 1,373 ✭✭✭Shane O' Malley


    There is probably a hidden folder or file within the corrupted folder.

    Be sure you have file manager set to view hidden folders/file

    Or you could check from an elevated CMD prompt.

    http://www.microsoft.com/windowsxp/using/helpandsupport/learnmore/tips/hiddenfiles.mspx


  • Registered Users Posts: 5,391 ✭✭✭jozi


    There's 2 cad files in the folder but I can't even open the folder to delete them.

    How do I go about deleting the folder with CMD prompt?


  • Registered Users Posts: 1,373 ✭✭✭Shane O' Malley


    What operating system are you using.


  • Registered Users Posts: 5,391 ✭✭✭jozi


    XP Pro


  • Registered Users Posts: 1,373 ✭✭✭Shane O' Malley


    Is it on a domain. IE Do you use it on a company network.

    If so you may need the administrator to do it.

    There is no real elevated CMD in XP Pro but it is restricted by user rights.

    If you open a CMD prompt
    Move to the directory you want by using

    cd\(path to directory)

    Dir /ah will list hidden files
    If you want to unhide them use
    attrib -s -h -r *.*

    That will unhide all the files in that directory. Also will lchange them to non-system and non- readonly

    Give it a go.


    Shane


  • Advertisement
  • Registered Users Posts: 5,391 ✭✭✭jozi


    It's my own laptop and I should have admin priveleges, tried ot in safe mode loged in as admin and same result.

    I can't cd to the directory.

    E:\College\4th Year\Thesis -\Drawings\Blocks\I_BEAM is the directory, do I use %20 for spaces?


  • Registered Users Posts: 1,373 ✭✭✭Shane O' Malley


    Can you do it on directory at a time. Dos usually give a shorter name for directories over 8 letters

    Cd to the first
    Then Dir to list the directory you want and check what DOS calls it.
    then cd next directory and so on.


  • Registered Users Posts: 606 ✭✭✭NeoRox




  • Registered Users Posts: 5,391 ✭✭✭jozi


    Meant to post up yesterday.

    Was chatting to one of the IT guys here in college and he recommened running a chck disk as it sounded like the file table was corrupt.

    Ran it anyway and the file(s) are there, uncorrupt and in full working order.


Advertisement