EN-flow 7 Posted August 30 Share Posted August 30 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 PinkElephant 8,761 Posted August 30 Level 5 Share Posted August 30 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
EN-flow 7 Posted August 30 Author Share Posted August 30 Thank you. I can't even trigger a link to the actual EN exe 😞 Link to comment
Solution mackid1993 1,236 Posted August 30 Solution Share Posted August 30 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. 1 Link to comment
mackid1993 1,236 Posted August 30 Share Posted August 30 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. 1 Link to comment
EN-flow 7 Posted August 31 Author Share Posted August 31 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
Level 5* gazumped 12,050 Posted August 31 Level 5* Share Posted August 31 file:///C:/Users/stuar/AppData/Local/Programs/Evernote/Evernote.exe works for me on Win 11 desktop... Link to comment
mackid1993 1,236 Posted August 31 Share Posted August 31 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
mackid1993 1,236 Posted August 31 Share Posted August 31 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* gazumped 12,050 Posted August 31 Level 5* Share Posted August 31 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> - and it is just a link, not a command prompt. Link to comment
mackid1993 1,236 Posted August 31 Share Posted August 31 1 minute ago, gazumped said: Shucks I thought I changed that link to show <USER> - 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
EN-flow 7 Posted September 1 Author Share Posted September 1 after taskkill, i have to do a timeout 1 before starting evernote.exe Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now