|
-
Jan 11th, 2006, 06:54 PM
#1
Thread Starter
New Member
Folder Sync
Hi
I am quite new at this, Just wondering if anyone has any code or knows of any that can do the following for me?.
I have two folders, 1 on a laptop and one on a USB stick. I need a simple program with a command button that will make the folder on the USB stick so it is exactly the same as one on my laptop, ie, copy new files and delete old files.
Any help would be much appreciated.
please ?
-
Jan 11th, 2006, 07:42 PM
#2
Re: Folder Sync
Welcome to the Forums.
What language are you wanting to write this in?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jan 12th, 2006, 12:21 PM
#3
Thread Starter
New Member
Re: Folder Sync
Hi,
Thanks for your reply.
I will be using Visual Basic 6
Thanks
-
Jan 12th, 2006, 12:27 PM
#4
Re: Folder Sync
 Originally Posted by Beer Can
I have two folders, 1 on a laptop and one on a USB stick. I need a simple program with a command button that will make the folder on the USB stick so it is exactly the same as one on my laptop, ie, copy new files and delete old files.
The simplest method would be to delete the folder on your stick, and just copy the folder from your laptop on over to it whenever necessary. In Post #2 of this thread there is a very neat example of how to copy a folder. I've used this a number of times.
BTW: Love your user Id and the product it represents!
-
Jan 12th, 2006, 12:43 PM
#5
Thread Starter
New Member
Re: Folder Sync
Hi Hack
Thanks for your reply.
I already have a program that simply copies the folders, but the size of the folder is more that 5Gb.
When doing more than 1 laptop it can be quite time consuming deleting the entire folder and than copying it back again, especially as there is usually very little change,
I just need a simple piece of code that what will look at the source folder and the destination folder, copy any new files and delete any old files from the destination that are no longer in the host.
Cheers !
-
Jan 13th, 2006, 01:23 PM
#6
Re: Folder Sync
My friend uses Total Commander for backups, from one machine to another. It copies only changed files.
-
Jan 13th, 2006, 01:35 PM
#7
Thread Starter
New Member
Re: Folder Sync
But does it delete old files?
-
Jan 15th, 2006, 04:10 PM
#8
Thread Starter
New Member
Re: Folder Sync
This program does just what I need,
replicator
But I need a far simpler one with no options of selecting folders. - just a single command button and a progress bar
Anyone help ?
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
|