Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ForGe3 opened this issue Aug 12, 2021 · 4 comments
Open

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

ForGe3 opened this issue Aug 12, 2021 · 4 comments

Comments

@ForGe3
Copy link

ForGe3 commented Aug 12, 2021

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
    
@wormi4ok
Copy link
Owner

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!

@ashemedai
Copy link

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

@Mingeax
Copy link

Mingeax commented Mar 26, 2022

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.

@Zpora
Copy link

Zpora commented Feb 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants