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)
-   -   Trying to delete files... not working. (https://www.kinook.com/Forum/showthread.php?t=2996)

dataflux 09-12-2007 09:27 AM

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?

dataflux 09-12-2007 09:31 AM

Nevermind
 
I just realized that in the new version, there is now a Delete Files action... Which works fine.

kinook 09-13-2007 02:10 PM

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


All times are GMT -5. The time now is 12:17 AM.


Copyright © 1999-2023 Kinook Software, Inc.