CopyDir

BlitzPlus Forums/BlitzPlus Programming/CopyDir

Has anybody a function to copy dirs inclouding files and subdirs? I nedd it for a backup program. THX ;-)

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

One function to read up all files in any folder:
http://www.blitzbasic.com/Community/posts.php?topic=61736