evernote2md icon indicating copy to clipboard operation
evernote2md copied to clipboard

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

Open ForGe3 opened this issue 4 years ago • 4 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
    

ForGe3 avatar Aug 12 '21 03:08 ForGe3

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!

wormi4ok avatar Aug 16 '21 21:08 wormi4ok

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

ashemedai avatar Aug 21 '21 06:08 ashemedai

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.

Mingeax avatar Mar 26 '22 13:03 Mingeax

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

Zpora avatar Feb 18 '24 21:02 Zpora