ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Main Area and Open Discussion > General Software Discussion

How do I delete big folders with ease?

<< < (3/3)

Stoic Joker:
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.

Navigation

[0] Message Index

[*] Previous page

Go to full version