wormi4ok / evernote2md

Convert Evernote .enex files to Markdown

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The term 'evernote2md' is not recognized as the name of a cmdlet

ForGe3 opened this issue · comments

Problem statement

Cannot execute file. I don't know what I'm doing wrong.

Example file

PS C:\Users\j_cam\desktop\en\evernote2md> evernote2md --tagTemplate "[[{{tag}}]]" "C:\Users\j_cam\Desktop\EN\EvernoteBackup Aug21.enex" ./notes
evernote2md : The term 'evernote2md' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • evernote2md --tagTemplate "[[{{tag}}]]" "C:\Users\j_cam\Desktop\EN\Ev ...
  •   + CategoryInfo          : ObjectNotFound: (evernote2md:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    

Hey @ForGe3! It seems like you are using Windows PowerShell. Unfortunately, I don't have a Windows machine to reproduce the problem you've faced. As a workaround, I'd suggest trying running it in cmd.exe and do the same steps there. Let me know if it helps!

On PowerShell you will either need to prefix calling evernote2md with & or use Start-Process.

Maybe you can run evernote2md.exe in a specific directory , then use .\evernote2md command to call evernote2md in that directory. It seems like evernote2md.exe installs evernote2md only in its own directory, but not in global env. And powershell does not allow user to call a command from another directory.

Dont know if you were able to solve this, since its been 2 years, but for anyone trying to run this on Windows Powershell, here's how:

  1. Download and extract evernote2md
  2. Import all the notes from Evernote that you want to convert to .md INSIDE of the directory where you have the evernote2md application.
  3. Open powershell and go to the same directory with command cd
  4. Use command ./evernote *.enex (if you have your files inside of a folder you need to add the name of the folder and then the *.enex like this: ./evernote folder\*.enex

Thats it