Alexis Posted May 5, 2021 Report Share Posted May 5, 2021 Hey everyone, I kinda noticed an odd behaviour between Win7 and Win10 when trying to run Macros via shell commands. I have some Macros that get executed via Nuance Dragon 15 voice recognition. The Script is as follows: ShellExecute "C:\Program Files (x86)\Macro Express Pro\MeProc.exe /APosteingang" Which is equivalent to a .bat file containing: start C:\Program Files (x86)\Macro Express Pro\MeProc.exe /APosteingang Now to the Problem. When I run this on Win7 everything works as expected and the Macro "Posteingang" executes. But when I run this on a Win10 machine a blank CMD-like window of "MeProc.exe" with the MEX Icon opens for a split second and closes itself (see image below), the Macro doesn't get executed. I tried several other things in a .bat file like: start "C:\Program Files (x86)\Macro Express Pro\MeProc.exe" /APosteingang adding the " or ' in different positions, without success. I don't understand why it behaves differently and what would need to be changed to make it work on Win10 machines. Any ideas? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.