Launching vokoscreen from CMD doesn't have access to codecs

178 views Asked by At

I am required to launch programatically vokoscreen from CMD (or any other programatical strategy). I am using the following command: "C:\Program Files (x86)\vokoscreenNG\vokoscreenNG.exe" && exit

However, when launched from command line all the codecs are unavailable to the app, condemning its proper execution. When I launch it manually, all codecs are normally available.

No codec access

What can I do to launch it programatically (scripts, macro, batch files...) and allow proper access to the codecs.

2

There are 2 answers

0
SLS On

Well, in the end I was able to do it using Blueprism and spying the application with External, 32 bit mode. This makes the object run in a separate process, and recover access to most codecs (but not all). But the main cause of this issue remains unknown and was unable to work from cmd.

0
Squashman On

You need to launch VokoScreen with the working directory being the VokoScreen install folder.

start "VokoScreen" /D "C:\Program Files (x86)\vokoscreenNG" "vokoscreenNG.exe"

OR

CD /D "C:\Program Files (x86)\vokoscreenNG"
"vokoscreenNG.exe"