This only backs up the wallet, correct? I'm assuming it cannot copy while the bitcoin program is running, but I don't know how bitcoin uses the wallet file and if it locks it or not. Could you let me know?
This looks to be what I have been looking for.
just create .bat file (for windows 7, in xp other path to wallet.dat):
@echo off
:start
xcopy.exe "C:\Users\%username%\AppData\Roaming\Bitcoin\wallet.dat" "C:\%Dropbox_folder%\"y
sleep 1800
goto start
and do not trust third-party programs
Since Windows XP doesn't recognize @echo off or the sleep commands by default, here's my first stab at a batch script that will do this.
:start
xcopy.exe "C:\Documents and Settings\xxx\Application Data\Bitcoin\wallet.dat" "C:\%Dropbox_folder%\Bitcoin\Wallet Backup\"y
ping -n 21600 127.0.0.1
goto start
It does bring up a command prompt, but I'm not sure yet how to prevent that from happening in Windows XP.