[Gambas-user] Copying a folder and subfolders

neil lewis neil at ...233...
Mon May 2 22:15:09 CEST 2005


Thanks, Fabien.

Neil Lewis

Fabien wrote:

>
>  
>
>>Message du 01/05/05 14:39
>>De : "neil lewis" <neil at ...233...>
>>A : gambas-user at lists.sourceforge.net
>>Copie à : 
>>Objet : [Gambas-user] Copying a folder and subfolders
>>
>>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.
>>
>>    
>>
>
>use this command :
>
>sDest as STring
>sFrom as STring
>
>
>EXEC("cp", "-R", sfrom, sdest)
>
>Fabien Bodard
>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: NEC IT Guy Games.
>Get your fingers limbered up and give it your best shot. 4 great events, 4
>opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
>win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
>_______________________________________________
>Gambas-user mailing list
>Gambas-user at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>  
>





More information about the User mailing list