Running EasyMorph from the command line

Hi -
I’m looking at the documentation here:

So as an example my command would be:
morph.exe /c C:\Users\abeltz\Desktop\JH_Integration_Checkers\OrderNumberChecker\JH_OrderQueueTimer.morph

windows states:
‘morph.exe’ is not recongnized as an internal or external command, operable program or batch file.

Am I doing something incorrectly?

Hi Adam,

You should add a path to EasyMorph installation folder before morph.exe.

With the default installation folder you command should look like this:

C:\Users\abeltz\AppData\Local\EasyMorph\morph.exe /c C:\Users\abeltz\Desktop\JH_Integration_Checkers\OrderNumberChecker\JH_OrderQueueTimer.morph

@andrew.rybka, Tried this command, Which is logging into Easymorph launcher. How to execute this further. i.e I Wanted end to end execution using .bat file only. Can you help m.

@paramasivan.k, Can you please elaborate on what do you mean by “logging into Easymorph launcher”? Also please post your actual command and a screenshot of that command execution.

Hi @andrew.rybka,

My Requirement is to launch Easymorph & Run the actions with command prompt (without any manual intervention). This is to avoid others touching or changing my morph project. Is this possible? If yes, Please help me.

Yes, it’s possible with a command, similar to the following:

C:\Users\<username>\AppData\Local\EasyMorph\morph.exe /c "C:\SomeFolder\myproject.morph"

Note the /c argument between the path to morph.exe and the path to the project file.

Hi @andrew.rybka.

This helped me out to launch the morph file. But my requirement is to run actions and close the laucher too. Can you help me ?

Hi @paramasivan.k

Can you please post a screenshot of the command which your are trying to run and a screenshot of the result of that comment execution.

Screenshot1: This is opening the morph file.
Project is getting open, but Project execution is not getting completed.
We need complete end to end executions of the pre confgured morph suite without any manual intervention.

@paramasivan.k, you should use /c instead of \c in your command.

UPDATE: Also the whole command should be placed in a single line. You command now contains a line break after the ‘\c’ argument and occupies two lines.

Did this solve your issue? I’m having the same problem. It opens the easymorph application, but doesn’t auto start and process the morph file without clicking one of the start buttons and it doesn’t close when finished.

“D:\Program Files\EasyMorph\morph.exe” /c “D:\ETL\Active\AFS\Sync_A.morph”

Hi @blenahan

Since v5.0 EasyMorph moved command-line execution functionality to a separate program, command line worker (CLW)