> İ need help in how to copy a scpecific file to a specific folder .
>
> I tried to use the fileextra3 but still doesn't work. Guess I
> am doing something wrong but doen't know
You should really tell us _how_ you tried to use it, but still, maybe this
will help.
It's a modified version of a script I'm working on right now, and it also
unlocks the file just in case it's "read only" (for files copied from a CD).
the fromFName and toFName should contain both the path and the file names.
--unlock and copy a file using fileXtra3
on fileCopy fromFName, toFName
--innit the file xtra
fxObj = xtra("FileXtra3").new()
--unlock the target file
fxObj .fx_FileSetWriteState(toFName, True)
--copy the file accross
intVar = fxObj .fx_FileCopy(fromFName, toFName)
if not intVar then
alert (fxObj .fx_ErrorString() & ":" && toFName)
end if
fxObj = Void
end
-- Karina
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]