>I'm trying to use this code to copy files from one location to another:
>oShell = CREATEOBJECT('Shell.Application')
>oFolder = oShell.Namespace(lcdir)
>oFolder.CopyHere(lcfiles)
>
>I'm trying to suppress the filenames and, if possible, set my own message. The syntax for CopyHere is "object.CopyHere vItem, [vOptions]" and there is the constant FOF_SIMPLEPROGRESS to hide filenames, but I'm having problems understanding how to use the vOptions parameter.
>
>Any help would be appreciated.
It's simply an additional parameter:
oFolder.CopyHere(lcfiles, FOF_SIMPLEPROGRESS)
You may combine options by adding them together. Or am I misunderstanding?
George
Ubi caritas et amor, deus ibi est