Popular recipes tagged "windows_delete_folders"http://code.activestate.com/recipes/tags/windows_delete_folders/2009-07-16T06:58:26-07:00ActiveState Code Recipesimport foldernames from a txt file , and take ownership over these folders and subfolder , and delete them - Windows (Python)
2009-07-16T06:58:26-07:00mgarrana Garranahttp://code.activestate.com/recipes/users/4171135/http://code.activestate.com/recipes/576845-import-foldernames-from-a-txt-file-and-take-owners/
<p style="color: grey">
Python
recipe 576845
by <a href="/recipes/users/4171135/">mgarrana Garrana</a>
(<a href="/recipes/tags/script_delete_folders/">script_delete_folders</a>, <a href="/recipes/tags/script_take_ownership_folders/">script_take_ownership_folders</a>, <a href="/recipes/tags/windows_delete_folders/">windows_delete_folders</a>).
</p>
<p>this script opens a file called "folders.txt" which contains foldername each in a separate line , and then passes by these folders one by one in a loop and takes ownership of these folders and subfolders and deletes them</p>