Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-14-2007, 01:47 PM
HippyCraig HippyCraig is offline
Registered User
 
Join Date: 07-27-2006
Location: Philly
Posts: 211
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
Reply With Quote
  #2  
Old 11-14-2007, 01:55 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
Recreate the root folder afterwards using the Create Folder action.
Reply With Quote
  #3  
Old 11-14-2007, 01:57 PM
HippyCraig HippyCraig is offline
Registered User
 
Join Date: 07-27-2006
Location: Philly
Posts: 211
I cant remove that directory as IIS is pointing to it. is there another option
Reply With Quote
  #4  
Old 11-14-2007, 02:04 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
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.
Reply With Quote
  #5  
Old 02-03-2011, 07:54 PM
Shiamak Shiamak is online now
Registered User
 
Join Date: 02-07-2006
Posts: 84
How do you stop IIS?
Reply With Quote
  #6  
Old 02-04-2011, 10:21 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
http://support.microsoft.com/kb/202013
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 05:28 PM.


Copyright © 1999-2023 Kinook Software, Inc.