I'm running Win10 Pro 21H2 and I'm trying to start the desktop application with a batch file. No importing or anything, just start it up as if the icon were double-clicked. Easy, right? When I switch to the correct directory (c:\users\user\appdata\local\programs\evernote) and run "evernote.exe", the application does indeed start, but there is a ton of other data returned to the command window that eventually hangs with an "unable to create cache" line.
Because of this, the batch file won't continue beyond that point. If it helps, here is the content that displays after the app opens:
C:\Users\USER\AppData\Local\Programs\Evernote>
[2022-09-30T02:07:24.772Z] INFO: electron.main/7176 on HCH2019(C:\Users\USER\AppData\Local\Programs\Evernote\resources\app.asar\node_modules\conduit-utils\node_modules\en-ts-utils\src\logger.ts:192 in info): client:utils:PerformanceLogger ELECTRON_INITIALIZATION took: 2078 ms (topicName=client:utils:PerformanceLogger)
[2022-09-30T02:07:24.799Z] INFO: electron.main/7176 on HCH2019(C:\Users\USER\AppData\Local\Programs\Evernote\resources\app.asar\node_modules\conduit-utils\node_modules\en-ts-utils\src\logger.ts:192 in info): client:utils:PerformanceLogger APP_INITIALIZATION started: 2129 (topicName=client:utils:PerformanceLogger)
[2022-09-30T02:07:24.800Z] INFO: electron.main/7176 on HCH2019(C:\Users\USER\AppData\Local\Programs\Evernote\resources\app.asar\node_modules\conduit-utils\node_modules\en-ts-utils\src\logger.ts:192 in info): Main app ready {"sender":{"isPackaged":true,"runningUnderARM64Translation":false,"userAgentFallback":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Evernote/10.44.8 Chrome/102.0.5005.167 Electron/19.0.13 Safari/537.36","commandLine":{},"_events":{},"_eventsCount":13}}
[9716:0929/220724.818:ERROR:cache_util_win.cc(20)] Unable to move the cache: Access is denied. (0x5)
[9716:0929/220724.818:ERROR:cache_util.cc(145)] Unable to move cache folder C:\Users\USER\AppData\Roaming\Evernote\Cache\Cache_Data to C:\Users\USER\AppData\Roaming\Evernote\Cache\old_Cache_Data_000
[9716:0929/220724.818:ERROR:disk_cache.cc(196)] Unable to create cache
[2022-09-30T02:07:25.109Z] INFO: electron.main/7176 on HCH2019(C:\Users\USER\AppData\Local\Programs\Evernote\resources\app.asar\node_modules\conduit-utils\node_modules\en-ts-utils\src\logger.ts:192 in info): Not the primary instance, quitting this instance
[2022-09-30T02:07:25.110Z] INFO: electron.main/7176 on HCH2019(C:\Users\USER\AppData\Local\Programs\Evernote\resources\app.asar\node_modules\conduit-utils\node_modules\en-ts-utils\src\logger.ts:192 in info): The main instance initialized? :false
[2022-09-30T02:07:25.115Z] INFO: electron.main/7176 on HCH2019(C:\Users\USER\AppData\Local\Programs\Evernote\resources\app.asar\node_modules\conduit-utils\node_modules\en-ts-utils\src\logger.ts:192 in info): onAppBeforeQuit
[9716:0929/220729.822:ERROR:cache_util_win.cc(20)] Unable to move the cache: Access is denied. (0x5)
[9716:0929/220729.822:ERROR:cache_util.cc(145)] Unable to move cache folder C:\Users\USER\AppData\Roaming\Evernote\Partitions\name\Cache\Cache_Data to C:\Users\USER\AppData\Roaming\Evernote\Partitions\name\Cache\old_Cache_Data_000
[9716:0929/220729.824:ERROR:disk_cache.cc(196)] Unable to create cache
I've looked at the handful of command line switches offered by typing "evernote.exe /?", but none appear that they would be helpful. The app works just fine, so my install seems ok, but it just doesn't like being started from the command line.
Running the batch "as administrator" or the normal user doesn't make a difference. The 'access is denied' message would appear to point to a permissions problem, but exactly what permissions are required where isn't clear in the error message.
Can someone steer me in the right direction?