Kinook Software Forums

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-20-2005, 02:10 PM
dataflux dataflux is online now
Registered User
 
Join Date: 04-20-2005
Posts: 10
Delete file?

Newbie user here, so excuse me if this has been answered before.

I can't seem to find an action that I can add to my script that will allow the deletion of a file? Is this possible?
Reply With Quote
  #2  
Old 04-20-2005, 10:21 PM
kevina kevina is online now
Registered User
 
Join Date: 03-26-2003
Posts: 825
The Copy Files action can be used to delete files (even recursively).

<snip from the help file - in the Copy tab page of the Copy File Action section>
Note: To delete files, check the 'Ignore non-existent or blank Source Folder' option, clear the Source Folder field, enter the folder to delete files from in the Dest Folder field, and check the 'Delete destination files...' option. Include and exclude options can also be entered to specify which files to delete.
</snip>
Reply With Quote
  #3  
Old 04-21-2005, 07:39 AM
dataflux dataflux is online now
Registered User
 
Join Date: 04-20-2005
Posts: 10
Thanks. That works for me.
Reply With Quote
  #4  
Old 01-12-2006, 03:17 AM
u-winkelmann u-winkelmann is online now
Registered User
 
Join Date: 10-20-2005
Location: Germany
Posts: 5
Hello,

I need to delete a single file whose absolute path is stored in a macro value. This does not seem to be possible with this approach. Is there a way to do this without having to store path and filename in two different macros?

Cheers

Ulf
Reply With Quote
  #5  
Old 01-12-2006, 06:33 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 5,752
http://www.kinook.com/Forum/showthre...?threadid=1455
Reply With Quote
  #6  
Old 01-12-2006, 06:42 AM
u-winkelmann u-winkelmann is online now
Registered User
 
Join Date: 10-20-2005
Location: Germany
Posts: 5
Thanks, for the fast answer! I should have thought of this myself
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:01 PM.


Copyright 1999-2019 Kinook Software, Inc.