Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-12-2007, 09:27 AM
dataflux dataflux is online now
Registered User
 
Join Date: 04-20-2005
Posts: 10
Trying to delete files... not working.

I'm using the copy action to delete files. I want to delete all files ending in .complete from all of the subdirectories of the specified directory. In the copy tab of my properties, I have left the Source Folder empty, and specified the root of the target directory in Dest folder. In the include list, I have one line which is *.complete. In the check boxes at the bottom, everything is unchecked except Delete destination files and folders... Everything else in this action is default.
When I run this action, I get:
Source Folder cannot be empty
Step 'Delete .complete files' failed

Any ideas?
Reply With Quote
  #2  
Old 09-12-2007, 09:31 AM
dataflux dataflux is online now
Registered User
 
Join Date: 04-20-2005
Posts: 10
Nevermind

I just realized that in the new version, there is now a Delete Files action... Which works fine.
Reply With Quote
  #3  
Old 09-13-2007, 02:10 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
In order to delete files with the Copy Files action, you need to check the 'Ignore non-existent or blank Source folder' on the Options tab.
http://www.visualbuild.com/Manual/co...ioncopytab.htm
Reply With Quote
Reply


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 10:25 AM.


Copyright © 1999-2023 Kinook Software, Inc.