
Untitled
By: a guest on
Jul 4th, 2012 | syntax:
None | size: 0.44 KB | hits: 7 | expires: Never
@echo off
setlocal
:: this is a comment
REM this is a comment
set GPGU="My GPG User"
for /f "tokens=1-4 delims=/ " %a in ('date /t') do set CURRDATE=%d-%b-%c
set WALLET=c:\temp\wallet-%CURRDATE%
set WALLETCRYPT=c:\temp\wallet-%CURRDATE%.crypt
c:\path\to\bitcoin.exe backupwallet %WALLET%
c:\path\to\gnupg.exe -r %GPGU% --output %WALLETCRYPT% --encrypt %WALLET%
copy %WALLETCRYPT% c:\path\to\dropbox
rm %WALLET% %WALLETCRYPT%
endlocal