Hi there, I'm new to the forums, but not new the robotask. I've been using it for some time now, and just recently I've started exploring some more automation revolving around the use of the action "Run command-line utility". I've got several processes that I need to run a command line program and capture the output that's return to do some validation on. The problem is no matter what I do I cannot get the output of the command to return into a variable. To reduce the simplicity of my end goal, and to test if I'm doing something wrong, I tried creating a task to run the windows ping command and capture the results into a variable then show the results. This test also failed. Is anyone else experiencing this issue? Am I doing something wrong? Here's a copy of the task to capture the ping output which is failing.
Ahh! Many thanks! Might I suggest that when you click the {v} button to select variables (to add them into that field) that is removes the brackets when you click ok? Or perhaps some sort of note in the documentation indicating not to include the brackets? I scoured through the documentation and never saw anything about that (I might have missed it still). Thanks!
In this case you have to input the name of your own variable.
Also you can compose the name with using another variable. For example: MyVar{num}
This can create enumerated variables: MyVar1, MyVar2, MyVar3, and so on