Can't delete folder in Windows 7

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 2,651
    W7 RTM Ultimate x64
       #11

    kegobeer said:
    Uber Philf said:
    OR IN the Command Prompt.

    Code:
     
     
    G:
    rd graphics
    In DOS, the rd command will not work if there are files/folders contained within the directory. As there is a subdirectory inside GRAPHICS, the rd GRAPHICS command will fail. To remove a directory that contains other files/directories, the /S switch is required (use the /Q switch in order to not ask if it is ok to delete each folder).

    Opps, my bad, thanks for the clear-up
      My Computer


  2. Posts : 2,913
    Windows 7 Ultimate x64 SP1
       #12

    ^^^^ No problem. It's easy to forget all of the switches when you don't use DOS constantly. I didn't remember until I read your post!
      My Computer


  3. Posts : 4
    Windows 7
    Thread Starter
       #13

    That did the trick: I had to use the /S switch because there were files in that folder. (Though files that I couldn't even see in DOS.) And I had to add the /P switch while getting the folder names because there were so many folders.

    Thanks everyone. I really (really!) appreciate the help -- I couldn't have done it without your help. Now my back is proceeding smoothly.
      My Computer


  4. Posts : 2,913
    Windows 7 Ultimate x64 SP1
       #14

    Glad it worked.
      My Computer


  5. Posts : 2,651
    W7 RTM Ultimate x64
       #15

    Fantastic!, good work Kego. :)
      My Computer


  6. Posts : 1
    7
       #16

    kegobeer said:
    kegobeer said:
    To switch to the G drive, simply type g:

    Use the following commands, after opening up a command prompt:

    Code:
    g:
    cd graphics
    dir /x
    The 8.3 names will be listed in the column immediately before the long filename column. Use the rd command with the 8.3 name. For example:

    Code:
    rd VIRTUA~1
    If you receive an error, use the /S switch, which will remove all files and subdirectories, along with the parent directory, as I described in my reply to Uber Philf.

    Code:
    rd VIRTUA~1 /S
    I registered to these forums only so that i could thank you for this!
    I had a folder with 0byte that could not be deleted or moved and it was driving me crazy cuss i tried lots of "solutions" i found on google that didnt work but this did! Thanks again!
      My Computer


  7. Posts : 1
    Windows 7 - 64
       #17

    thank you all...


    Ive been battling with this for a week...

    Ive tried: F5, lockhunter, indexing, linux live, cmd del<foldername>...

    you guys are like my own personal jesus christ's

    "rd <folder> /S" worked!!!!


    thanks so much!
      My Computer


  8. Posts : 369
    Windows 7
       #18

    If Killbox didn't work, try Unlocker which does good for me and is GUI based next time you have a problem that is similar.

    UNLOCKER 1.8.9 BY CEDRICK 'NITCH' COLLOMB


    Edit: Just read the rules again, is posting this link in this context considered advertising?
      My Computer


  9. Posts : 56
    windows 7 prof
       #19

    the above link is unsafe according to my ie8 browswer
      My Computer


  10. Posts : 369
    Windows 7
       #20

    wullthebull said:
    the above link is unsafe according to my ie8 browswer
    A lot of sites popup unsafe.

    It's on CNET too just as an FYI. That link above is the actual developer site.

    My question was not whether it was safe or not, which i would never intentionally post an unsafe link, but whether it's considered advertising in the context by which it was posted.
      My Computer


 
Page 2 of 3 FirstFirst 123 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:12.
Find Us