Can't delete folder

Discussion in 'General Off-Topic' started by Nadeox1, Aug 19, 2013.

  1. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,686
    Hello, time ago I made a folder on my desktop to start messing with Torque3D. Last day I tried to delete the folder but it looks like something went utterly wrong, and I get an error "Folder not found" while the folder is still there.
    The folder just contains another folder, which leads to an empty folder, and it's stuck in ONLY READ mode. I can't delete or move it. I can only rename it.

    Any help?


    (imported from here)
    Looks like the folder got corrupted, but how do I get rid of it now?
     
  2. daniel_j

    daniel_j
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    334
    hold down the shift button and right click your desktop
    select open command window here
    type rmdir foldername\foldername\foldername
    This will get rid of any pesky folders ;)
     
  3. moosedks

    moosedks
    Expand Collapse

    Joined:
    Nov 4, 2012
    Messages:
    1,112
    go in safe mode and see if you can delete it from there.

    You could try booting puppy linux or pretty much any other linux distro that can boot off a cd or flash drive and delete it from that maybe.

    when you right click it and go to the bottom of the little menu where it says properties and then to the security tab, what securities does it have?
    fuckingfolder.png
    this is what a new folder should look like by default. It also has a checked box under the general tab that says read only but I can delete it or do anything with it.

    edit: i'm just guessing, guy above me sound legit lol
     
  4. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,686
    Tried with rmdir but it says "Operation not valid" at the first subfolder (Torque3D).
    Permission are alright.

    Folder is 23/Torque3D/My Projects/N-Labs

    My command looked like "rmdir 23/Torque3D/My Projects/N-Labs"
     
  5. jeffbox

    jeffbox
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    119
    Try rmdir_23/Torque3D/My_Projects/N-Labs
     
  6. daniel_j

    daniel_j
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    334
    Type this mate :
    rmdir "23\Torque3D\My Projects\N-Labs"
    exactly like that :)
    The issues was the space between my and project

    - - - Updated - - -

    ? That won't work x)
    also use backslash not forward slash
     
  7. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,686
    #7 Nadeox1, Aug 19, 2013
    Last edited: Aug 19, 2013
  8. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,686
    Bump - any other tips?
     
  9. Davidbc

    Davidbc
    Expand Collapse

    Joined:
    Mar 20, 2013
    Messages:
    1,333
    right click somewhere in the screen and ''update'', or maybe restart.
     
  10. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,686

    I got that folder lying there from 3 weeks.. You can imagine how many times I booted the pc.
    I'm pretty sure it has to do with the 0 file size (even an empty folder takes some bites of memory afaik)..
     
  11. moosedks

    moosedks
    Expand Collapse

    Joined:
    Nov 4, 2012
    Messages:
    1,112
    "The trick is to delete the file using its short name. To discover the short name, open a command line window, and type DIR /X. This will show you two names for the zero byte file--the normal one and a "short name" that consists of the first 6 letters of the file name, a tilde (~), and a number. Now use DEL with the short name."

    I hope you tried to find the answer on google before hand. I got that from this thread
    http://www.sevenforums.com/general-discussion/89677-cannot-delete-0-byte-file-desktop.html and it says verified solution over it
     
  12. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,686
    Solved my problem.
    Using /Del SHORTNAME didn't work.
    I used another command on the folder i wanted to delete.

    First of all I found the short name like the guy above me said (TILDE on EUR keyboard is done with ALT+FN+126 for those who doesn't know). Then I used:

    "rmdir /q /s SHORTNAME"

    and voila! Solved :)


    PS- Posting is bugged? I can't see the text box in the full site, I had to switch to mobile version :\
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice