Jump to content

Starting EN via CMD = Error


Go to solution Solved by mackid1993,

Recommended Posts

I want to use a batch in which EN is opened via CMD:

start "" "C:\Users\XXX\AppData\Local\Programs\Evernote\Evernote.exe"

EN starts but I get a 1000 line failure code in CMD, starting with:

[TIME] ERROR: electron.main/33760 on B4U:
     Error checking pending update Error: no pending update

Any suggestions?

Link to comment
  • Level 5

Evernote is embedded in a Framework called Electron, that’s what’s behind the error message.

All interaction between app and OS is handled by the framework - think of it as a specialized virtual machine.

It doesn’t allow scripting.

Link to comment
  • Solution

I had no issues running Evernote.exe from a command prompt on 10.103.4. 

This should absolutely be possible. I would try running taskkill /f /im evernote.exe to ensure one of the Chromium subprocesses isn't stuck. 

  • Like 1
Link to comment
3 hours ago, PinkElephant said:

Evernote is embedded in a Framework called Electron, that’s what’s behind the error message.

All interaction between app and OS is handled by the framework - think of it as a specialized virtual machine.

It doesn’t allow scripting.

This isn't scripting, this is launching an executable using the command line interpreter. It has nothing to do with Evernote and everything to do with Windows. 

  • Thanks 1
Link to comment
7 hours ago, mackid1993 said:

I had no issues running Evernote.exe from a command prompt on 10.103.4. 

This should absolutely be possible. I would try running taskkill /f /im evernote.exe to ensure one of the Chromium subprocesses isn't stuck. 

This worked, thanks. Interesting, even after a fresh restarting I had these problems. So the first line is now the taskkill before opening the exe.

Link to comment
38 minutes ago, gazumped said:

file:///C:/Users/stuar/AppData/Local/Programs/Evernote/Evernote.exe works for me on Win 11 desktop...

That's not the correct syntax for the Windows Command Prompt:

start "" "%localappdata%\Programs\Evernote\Evernote.exe"

would be correct and by far the easiest.

Link to comment
10 hours ago, EN-flow said:

This worked, thanks. Interesting, even after a fresh restarting I had these problems. So the first line is now the taskkill before opening the exe.

Are you sure Evernote is not set to start at boot somewhere?

Link to comment
  • Level 5*
5 minutes ago, mackid1993 said:

That's not the correct syntax for the Windows Command Prompt:

Shucks I thought I changed that link to show <USER> :angry: - and it is just a link,  not a command prompt.

Link to comment
1 minute ago, gazumped said:

Shucks I thought I changed that link to show <USER> :angry: - and it is just a link,  not a command prompt.

Oh yeah I mean that would be the correct format for a URI but not for a batch file.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...