Kinook Software Forums

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

Thread Tools Rate Thread Display Modes
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
Old 09-12-2007, 09:31 AM
dataflux dataflux is online now
Registered User
Join Date: 04-20-2005
Posts: 10

I just realized that in the new version, there is now a Delete Files action... Which works fine.
Reply With Quote
Old 09-13-2007, 02:10 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,752
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.
Reply With Quote

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 08:45 PM.

Copyright 1999-2019 Kinook Software, Inc.