topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 16, 2024, 12:56 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: How do I delete big folders with ease?  (Read 11150 times)

relequestual

  • Honorary Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 93
    • View Profile
    • AppAholic
    • Donate to Member
How do I delete big folders with ease?
« on: April 29, 2008, 01:34 PM »
I backed up my parents laptop about a month ago. didnt have the time to zip before backing up as it was way slow, so i copied the C drive across and then zipped it on mine. Now the problem is, i cant seem to delete the unziped backup. it keeps failing or not even starting.

Is there a bit of software out there that can delete a big folder with loads of files in it without any hassle?

cheers

Rel
<a href="http://feeds.feedbur...om/~r/Appaholic/~6/3"><img src="http://feeds.feedbur....com/Appaholic.3.gif" alt="Are You An AppAholic?" style="border:0"></a>

mwb1100

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,645
    • View Profile
    • Donate to Member
Re: How do I delete big folders with ease?
« Reply #1 on: April 29, 2008, 02:38 PM »
You can't get much quicker and easier than this (be careful - you can do a lot of damage) - from the command line : 

rd /s <folder name>

If you're adventurous you can add the "/q" option and it'll wipe the folder without asking for confirmation.

nosh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,441
    • View Profile
    • Donate to Member
Re: How do I delete big folders with ease?
« Reply #2 on: April 29, 2008, 03:36 PM »
Maybe it's an access (attributes) problem?

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: How do I delete big folders with ease?
« Reply #3 on: April 29, 2008, 04:54 PM »
Shift+Delete

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: How do I delete big folders with ease?
« Reply #4 on: April 29, 2008, 06:52 PM »
If you have a huge file tree to delete, going to cmd.exe can definitely be a lot faster than deleting from explorer.

You say you copied the entire C drive? Then you might also have some permission problems, depending on the way you did the copying.
- carpe noctem

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 753
    • View Profile
    • Just Plain Super
    • Read more about this member.
    • Donate to Member
Re: How do I delete big folders with ease?
« Reply #5 on: April 29, 2008, 10:02 PM »
if it is permission problems, then would running an explorer window under the SYSTEM account fix that problem?

If so, sysrun will let you do that.
just run sysrun, and open either a command prompt and use
You can't get much quicker and easier than this (be careful - you can do a lot of damage) - from the command line : 

rd /s <folder name>

If you're adventurous you can add the "/q" option and it'll wipe the folder without asking for confirmation.


that method, or run sysrun and open an explorer window and use shift delete on it.
[Insert really cool signature here]

relequestual

  • Honorary Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 93
    • View Profile
    • AppAholic
    • Donate to Member
Re: How do I delete big folders with ease?
« Reply #6 on: April 30, 2008, 02:17 AM »
Thanks everyone for helping me through this one.
Shift Delete worked, but the problem was, it would keep hitting access denied permission errors, and stop the delete.
i will give sysrun a try tonight and let you know how it goes

What i was really looking for was if someone had created a small app that takes over the windows delete and processes skipping errors and ending with a report. Like teracopy does for copying, but for deleting.

Thanks again donation coder members!
<a href="http://feeds.feedbur...om/~r/Appaholic/~6/3"><img src="http://feeds.feedbur....com/Appaholic.3.gif" alt="Are You An AppAholic?" style="border:0"></a>

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
    • View Profile
    • Donate to Member
Re: How do I delete big folders with ease?
« Reply #7 on: April 30, 2008, 02:38 AM »
Did you try to delete in safe mode? Also, Eraser or Sysinternals sdelete may be of help.

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,066
    • View Profile
    • Donate to Member
Re: How do I delete big folders with ease?
« Reply #8 on: April 30, 2008, 02:52 AM »
If there are permission issues you will need to take ownership of the files/folders first (they don't necessarily all give full access to System).

Once you have taken ownership use right click Properties to set the top folder attributes to remove any read only attributes recursively to all the files and folders below that folder.

Then Shift Delete should work very quickly.

The only difficult bit is taking ownership. To do that you need to disable "Simple File Sharing" in the Folder Options so that you can see who owns files etc. in Explorer on right click.

nite_monkey

  • Member
  • Joined in 2006
  • **
  • Posts: 753
    • View Profile
    • Just Plain Super
    • Read more about this member.
    • Donate to Member
Re: How do I delete big folders with ease?
« Reply #9 on: April 30, 2008, 03:42 PM »
Thanks everyone for helping me through this one.
Shift Delete worked, but the problem was, it would keep hitting access denied permission errors, and stop the delete.
i will give sysrun a try tonight and let you know how it goes

What i was really looking for was if someone had created a small app that takes over the windows delete and processes skipping errors and ending with a report. Like teracopy does for copying, but for deleting.

Thanks again donation coder members!
-relequestual (April 30, 2008, 02:17 AM)

well if you want it to skip errors, then you could try Unstoppable Copier and just set the target as the recycle bin or something like that, if that is possible, I haven't ever used Unstoppable Copier, I only heard about it from Darren over at hak5.org
[Insert really cool signature here]

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,646
    • View Profile
    • Donate to Member
Re: How do I delete big folders with ease?
« Reply #10 on: May 04, 2008, 10:02 AM »
NTFS file prrmissions are inherated by the targets permissions when moving files between partition. They are only copied if moving files within the same partition...So that's not the issue.

However if there is a file name legnth issue (very common with this type of "backup") then you will get tons of false Permissions errors due to the shell's inability to handle the length of the file names.

f0dder had most of the right answer, but didn't give all of the necessary syntax. I used this alot for clean ups back when hijacking FTP servers with hidden directories was popular.

rmdir  /q /s \.\\C:\[fullpath-to-target]

/q must be used or the delete will crash when it tries to display the "error"

the \.\\   fires from namespace root and guarentees no forgiveness.

rmdir & rd both work/will do the same thing, I just picked rmdir out of habbit.

Holding the Shift key will still get the shell involved, will try to echo the offending file name to the progress dialog, and will crash with false permissions error.