|
-
Aug 26th, 2000, 07:43 AM
#1
Thread Starter
Lively Member
Hi!
I want to make a backup program which loops through all the directories and files on a drive of my computer and checks if the current directory or file exists on another specified drive. If not, it creates the directory or copies the missing files. If a newer version of a file exists it would be updated.
I'm not asking you for a fully coded solution, however I would greatly appreciate if someone could point me in the right direction.
Thanks in advance,
Nina.
-
Aug 26th, 2000, 08:16 AM
#2
Use the FileSystemObject it's probably the easiest way for a VB developer to go thrugh the directory tree.
To check if a file has been altered you could do what most backup programs do, check the Archive attribute of the file.
You can do that with the Attributes property of the FileSystemObject. If the attribute is set then copy the file and then remove the attribute.
Good luck!
-
Aug 31st, 2000, 09:58 AM
#3
Thread Starter
Lively Member
Well, my program seems to work now ...
however, I was wondering if anyone of you could take a look at my code, give me some comments on it or suggestions, how to make it faster.
If you'd like to, send me an email to [email protected] or post you email address here, so I could send it to you.
Thanx a lot,
Nina
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|