[Gambas-user] Copying a folder and subfolders

Tom zenum.net at ...626...
Sun May 1 14:49:39 CEST 2005


> Hi All,
>
> I'm sure it's fairly trivial, but here goes.
>
> I need to copy the contents of a folder which may include subfolders
> (and maybe even sub-subfolders).
> The notes for COPY say it can't be used recursively, so what's the best
> way to do this?
> I've checked the manual and the wiki and so far I can find no examples
> or suggestions.
>
> Neil Lewis
>

I had a similar problem with the MKDIR function that gambas has where I 
couldnt create subdirectories recursively.
I solved this by just using the SHELL command though you could use EXEC as 
well.

This way you can add your own options to the copy command.

Hope this helps,
-Tom




More information about the User mailing list