I will do this with the command prompt. Every time you plug in your flash drive just give it a second and you can take it out, your files will then be backed up!
Use an old flash drive that you don't need anymore to be the ultimate backup solution!
Step 1: First...
Step 2: The code...
copy C:\Users\%username%\Desktop\*.txt txt
copy C:\Users\%username%\Documents\*.txt txt
copy C:\Users\%username%\Desktop\*.doc docs
copy C:\Users\%username%\Documents\*.doc docs
copy C:\Users\%username%\Desktop\*.jpg images
copy C:\Users\%username%\Documents\*.jpg images
xcopy C:\Users\%username%\Pictures images /S
All @echo off does is remove unwanted things when it runs, If you want a good explanation learn batch.
The copy command is used like this:
copy [source] [destination]
here is an example:
copy C:\mystuff mystuff
That will copy it to a folder called my stuff where the batch file is.
So if the batch file is on C:\backup it will copy it to C:\backup\mystuff
The xcopy command is just an advanced copy command. It is used just like copy but when you add /S to the end it will copy all sub directories. So if I copy something from the pictures folder and inside there I have a folder called "Spring 2009" It will copy that folder too.
Next is %username% it will just get your username. So if your username is bob it is just like typing: C:\Users\bob\Pictures
The *.doc or *.txt or *.jpg is just so it will copy anything that has .whatever
If i do *.txt it will copy blah.txt hello.txt or anything with that extension
The last thing:
So now you know how to backup your own things. You can use what I typed up there to back up pictures, documents, and text files, Or make your own script to backup anything.
Step 3: Set it up to auto run
Save it under all files and name it "autorun.inf"