CopyDir

BlitzPlus Forums/BlitzPlus Programming/CopyDir

Starwar(Posted 2007) [#1]
Has anybody a function to copy dirs inclouding files and subdirs? I nedd it for a backup program. THX ;-)


b32(Posted 2007) [#2]
You could maybe use xcopy, it is a dos command, but it is still supported in all window versions. I believe with the /s parameter, you can copy the entire subdir structure.
Maybe these code archives help:
http://www.blitzbasic.com/codearcs/codearcs.php?code=1567
http://www.blitzbasic.com/codearcs/codearcs.php?code=1368


Andres(Posted 2007) [#3]
One function to read up all files in any folder:
http://www.blitzbasic.com/Community/posts.php?topic=61736