Using the Windows Command Line with Evernote - dummies

Using the Windows Command Line with Evernote

By David E. Y. Sarna

Although the MS-DOS operating system isn’t often used today, the command shell — now more commonly known as the Windows command line — is still used; it’s especially useful when you want to automate repetitive tasks.

You can combine the MS-DOS and Windows commands with Evernote’s commands to perform tasks in Evernote. You can use it to create macros that will execute automatically every time you call them to perform repetitive tasks.

What’s the path?

Using the command-line interface for Evernote, requires calling one of the Evernote executables, ENScript.exe and Evernote.exe. You usually don’t need to worry where to find them. They’re automatically stored in Evernote’s program directory when you install Evernote.

Version 4.0 and later of Evernote for Windows automatically registers the installation path of ENScript.exe and Evernote.exe with the Windows App Paths system. Many Windows applications and functions automatically look at an application’s paths when searching for an executable name.

If you’re using an earlier version of Evernote (not recommended) or if you chose not to install Evernote in the default directory (which is also not recommended) then you need to specify where ENScript.exe and Evernote.exe are. In technical terms, this means they must be in your shell “path,” or you must give the full path to the executable when you invoke the command.

You can invoke ENScript.exe with the following commands:

  • Create Note

  • Import Notes

  • Show Notes

  • Print Notes

  • Export Notes

  • Create Notebook

  • List Notebooks

  • Sync Database

Command-line switches

All versions of Windows support switches that you can use to control how things look and act. The following are some useful command-line switches supported by Evernote.exe:

  • /Hide: Don’t show main window upon start

  • /Maximize: Maximize main window upon start

  • /Minimize: Minimize main window upon start

  • /DebugMenu: Show debug menu

  • /NoAutoUpdate: Don’t use Auto Update

  • /NoLastLogin: Don’t open last opened database

  • /NoLastState: Don’t select last selected notebook, tags and note

  • /ShowLog: Show app log in NotePad