on 03-18-2014 2:15 PM
I have deployed the File Runner Custom action block in our MII 14 sp 4 box. In an SDN PDF, it has an example of a "ping" command which works fine as documented. Wanting to test the capablities further, I have tried:
Command = dir
Arguments = c:\Temp
I comes back with "Cannot run program "dir". "CreateProcess error=2."
Eventually want to use this action block to execute an "lpr" command to a printer.
Has anyone used this custom action block this way before?
Thanks
Hi Brad,
I have used File Runner but in MII 12.2 to execute an .exe file on the server.
I followed the document: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0f82957-f539-2f10-439c-87cc192cb...
Can you check if this is still applicable for MII 14.0. Any specific issue you face that is not addressed?
Regards,
Saumya Govil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Brad,
I think the way you write the command and Argument is incorrect.
We do like this:
Command = c:\\windows\\system32\\cmd.exe
Arguments = dir
Argument can be changed to another command you want to execute. The Command statement is used to find the command prompt in the server.
Hope this helps!
Regards,
Saumya Govil
User | Count |
---|---|
11 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.