:: Backs up all Evernote notes, requires Evernote for Windows.
:: VERSION: 1.1c

@ECHO off

SET datetimestamp=%date:~7,2%-%date:~4,2%-%date:~10,4%%time:~0,2%_%time:~3,2%_%time:~6,2%
SET evernoteinstalldirectory=c:\Program Files (x86)\Evernote\Evernote
SET destinationdirectory=F:\Backups\Evernote
SET destinationfilename=Evernote_Backup_%datetimestamp%.enex

ECHO Backing up all your Evernote notes, please wait...
ECHO.
"%evernoteinstalldirectory%\ENScript.exe" exportNotes /q any:* /f "%destinationdirectory%\%destinationfilename%"
ECHO.
ECHO All your Evernote notes were backed up as the file: %destinationdirectory%\%destinationfilename%.
ECHO.
PAUSE

@ECHO on