#1
|
|||
|
|||
Deleting a Directory
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 |
#2
|
|||
|
|||
Recreate the root folder afterwards using the Create Folder action.
|
#3
|
|||
|
|||
I cant remove that directory as IIS is pointing to it. is there another option
|
#4
|
|||
|
|||
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.
|
#5
|
|||
|
|||
How do you stop IIS?
|
#6
|
|||
|
|||
|
|