We have a routine that builds a HTML file to send to a user. I do this by writing the text file to a directory and then sending the file via email.
What I want to do is delete the file again at the end of the the process.
Dexterity has Text_FileOpen and Text_FileClose commands to open and close a file, but no command to delete a file. I thought I may be able to use the DOS del command but I can't get that to work either.
Any ideas? The only other thing I can think to do is to write little application in .NET to do the file delete and call that using the "run application" command within SanScript.
*This post is locked for comments
I have the same question (0)