How abut the equivalent under Win32 systems?
Does anybody now how to ask MS Windows explorer to do the copy
command instead of relying on the mysteries of the .copyfileto RB
folderitem method?
why not just use the shell?
Sub CopyFileTo(src as folderItem, dest as folderItem)
dim s as shell
s=new shell
s.execute "copy "+src.absolutePath+" "+dest.absolutePath
End Sub
and i believe that even works for whole directories... just make sure to
delete the file in the dest place if there is one, before copying to there,
i don't know how to tell the shell to replace it.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
|