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.
What can I do to launch it programatically (scripts, macro, batch files...) and allow proper access to the codecs.
CodePudding user response:
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.
CodePudding user response:
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"