IBM WebSphere Host On-Demand (HoD): Cannot run program with "runprogram" command. What can I do?

Solution 1:

I encountered this problem a while ago and has forgotten how I arrived at the solution. I am using HOD 10.X so I don't know whether the newer versions have resolved this problem.

Solution: Most likely you are editing the codes on your own editor (like notepad, etc). When you set the path you need to put extra \ to the path. So the path to the above example would be as follows:

          "'c:\\\\Program Files\\\\Windows NT\\\\Accessories\\\\Wordpad.exe'"

Be careful when you switch between using your own editor and the built-in one. The native editor will alter the path after you select to save your macro.

Solution 2:

Your code has ', while the example contains . Also check if the path exists as well as well as that it has administrator privileges to do so.