Guest Bobson Posted June 13, 2008 Posted June 13, 2008 hi everyone, Thank you for your help in advance. I would like to ask if there is any tool which can make the convenience to delete folders/files with bypassing all the errors, including the read only, and "the directory is not empty" ...etc. Bobson
Guest Pegasus \(MVP\) Posted June 14, 2008 Posted June 14, 2008 Re: Tools to delete folders/files with many items and big size (500gb) "Bobson" <Bobson@discussions.microsoft.com> wrote in message news:915BBFA0-1594-4391-B4CC-902C82FFB21E@microsoft.com... > hi everyone, > > Thank you for your help in advance. I would like to ask if there is any > tool > which can make the convenience to delete folders/files with bypassing all > the > errors, including the read only, and "the directory is not empty" ...etc. > > Bobson The basic "rd" command, when executed from a Command Prompt, will do this: rd /s /q "c:\Some Folder" Type "rd /?" at the Command Prompt to see the various switches of this command (and any other command!).
Guest Bobson Posted June 16, 2008 Posted June 16, 2008 Re: Tools to delete folders/files with many items and big size (50 Re: Tools to delete folders/files with many items and big size (50 Thank you. I will try it later this week! Bobson "Pegasus (MVP)" wrote: > > "Bobson" <Bobson@discussions.microsoft.com> wrote in message > news:915BBFA0-1594-4391-B4CC-902C82FFB21E@microsoft.com... > > hi everyone, > > > > Thank you for your help in advance. I would like to ask if there is any > > tool > > which can make the convenience to delete folders/files with bypassing all > > the > > errors, including the read only, and "the directory is not empty" ...etc. > > > > Bobson > > The basic "rd" command, when executed from a Command Prompt, > will do this: > > rd /s /q "c:\Some Folder" > > Type "rd /?" at the Command Prompt to see the various switches > of this command (and any other command!). > > >
Guest P. Posted June 16, 2008 Posted June 16, 2008 Re: Tools to delete folders/files with many items and big size (50 Re: Tools to delete folders/files with many items and big size (50 I've found that in some instances rd could still fail, same when using explorer to delete, e.g. super long paths, mount points, network shares, etc. I've found using robocopy to empty out a directory works great and fast all the time. e.g. robocopy c:\create.an.empty.directory c:\directory.to.clear /mir "Bobson" <Bobson@discussions.microsoft.com> wrote in message news:B7A9430C-4798-418D-92BF-EA50CC102434@microsoft.com... > Thank you. I will try it later this week! > > Bobson > > "Pegasus (MVP)" wrote: > >> >> "Bobson" <Bobson@discussions.microsoft.com> wrote in message >> news:915BBFA0-1594-4391-B4CC-902C82FFB21E@microsoft.com... >> > hi everyone, >> > >> > Thank you for your help in advance. I would like to ask if there is any >> > tool >> > which can make the convenience to delete folders/files with bypassing >> > all >> > the >> > errors, including the read only, and "the directory is not empty" >> > ...etc. >> > >> > Bobson >> >> The basic "rd" command, when executed from a Command Prompt, >> will do this: >> >> rd /s /q "c:\Some Folder" >> >> Type "rd /?" at the Command Prompt to see the various switches >> of this command (and any other command!). >> >> >>
Recommended Posts