garlicnonions Posted November 27, 2014 Report Share Posted November 27, 2014 I am able to run my macro from the windows run command(start button>Run) with the following syntax. "C:\Program Files\Macro Express3\MeProc.exe" /Atestshell However I am not able to do this from a batch file. Can anyone help with this? Thanks, John. Quote Link to comment Share on other sites More sharing options...
rberq Posted November 28, 2014 Report Share Posted November 28, 2014 When I put that syntax into a batch file it works fine when ME is already running. If ME is not already running when the batch file runs, ME starts up and then the macro runs. If I use an non-existing macro name, ME starts up but no macro runs. If wonder if you might have a path problem, where ME can't find the macro file? My macro file is in the same folder as all the ME executables. I hope that helps ... maybe a clue there. Quote Link to comment Share on other sites More sharing options...
garlicnonions Posted November 28, 2014 Author Report Share Posted November 28, 2014 Thanks rberq, I was using "start" before my command line. I hadn't tried the command line on its own. Just a lack of batch file knowledge. Really appreciate your help. John Quote Link to comment Share on other sites More sharing options...
Samrae Posted December 1, 2014 Report Share Posted December 1, 2014 My macro file is in the same folder as all the ME executables. Having your macros in the same folder as the Macro Express program files is not a good idea if you are using a current version of Windows and if Macro Express is installed in a folder under one of the Program Files folders. This was okay for Windows XP but, beginning with Windows Vista, for security reasons, Windows tries to protect files by preventing changes to any of the files located in a Program Files sub-folder. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.