Jeanne A. E. DeVoto
jeanne at runrev.com
Sun Jul 21 01:40:01 EDT 2002
At 1:30 PM -0700 7/16/2002, Richard Hillen wrote:
> answer folder "Sourcefolder please"
> put it into SF
> answer Folder "Destinationfolder please"
> put it into DF
> revCopyFolder SF,DF
> put the result
>The result: "Execution error".
The problem is your second "answer folder" command. What you're ending up
doing here is asking the user for an already-existing folder as the
destination, so revCopyFolder is trying to create a folder that already
You can do one of two things:
1) Use "ask file" instead of "answer folder" for the destination, allowing
the user to name the folder.
2) If you don't want to let the user name the copy - just make a duplicate
with the same name - then leave the second "answer folder" command as is,
and append the name of the source folder to the end of the variable "DF".
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - The Solution for Software Development
More information about the Use-livecode