View Full Version : Deleting a Directory
HippyCraig
11-14-2007, 02:47 PM
I am tried to use both the delete files and delete directroy actions and I am having a little trouble. I want to delete the contents and all sub directorys but leave the root directroy intact.
Is there a way to do this.
Thanks,
Craig
kinook
11-14-2007, 02:55 PM
Recreate the root folder afterwards using the Create Folder action.
HippyCraig
11-14-2007, 02:57 PM
I cant remove that directory as IIS is pointing to it. is there another option
kinook
11-14-2007, 03:04 PM
Then it should do what you want (delete all files/subfolders except the root folder if IIS is preventing that) -- just mark it to ignore failure. Or stop the IIS service if it's preventing files or subfolders from being deleted.
Shiamak
02-03-2011, 08:54 PM
How do you stop IIS?
kinook
02-04-2011, 11:21 AM
http://support.microsoft.com/kb/202013
vBulletin® v3.8.11, Copyright ©2000-2024, vBulletin Solutions Inc.