Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Deleting a Directory (https://www.kinook.com/Forum/showthread.php?t=3243)

HippyCraig 11-14-2007 01:47 PM

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

kinook 11-14-2007 01:55 PM

Recreate the root folder afterwards using the Create Folder action.

HippyCraig 11-14-2007 01:57 PM

I cant remove that directory as IIS is pointing to it. is there another option

kinook 11-14-2007 02: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 07:54 PM

How do you stop IIS?

kinook 02-04-2011 10:21 AM

http://support.microsoft.com/kb/202013


All times are GMT -5. The time now is 10:07 AM.


Copyright © 1999-2023 Kinook Software, Inc.