VDesk icon indicating copy to clipboard operation
VDesk copied to clipboard

Cannot noswitch start Onenote on other desktop

Open DoS007 opened this issue 6 years ago • 1 comments

I'm on Desktop 2 and want to start onenote 2016 without switching on desktop 1. I'm using the following batch file code:

@echo off vdesk on:1 noswitch:true run:"C:\Program Files (x86)\Microsoft Office\root\Office16\ONENOTE.EXE"

I get this error (and onenote gets started on the current desktop 2 - and not 1) grafik

Testing the code with another program like notepad shows no error and it correctly starts one desktop 1. So this seems to specific to onenote 2016 and other like programs.

What to do, for fixing?

Edit: Another similiar problem also exists with OneNote uwp (freely installable from ms store). On my system i can start it by batch using "start shell:AppsFolder\Microsoft.Office.OneNote_8wekyb3d8bbwe!microsoft.onenoteim". See https://stackoverflow.com/questions/53011084/how-can-i-start-an-uwp-application-through-a-batch-file how to start it on your system. Using vdesk for this also starts it on false desktop (like for OneNote).

DoS007 avatar Mar 25 '19 13:03 DoS007

I believe this is a duplicate of #54

mrsylerpowers avatar Jun 07 '19 15:06 mrsylerpowers