Replace Command Line Parameter

Discuss RoboTask here
Post Reply
waldo
Posts: 56
Joined: Fri Sep 24, 2004 3:36 am

Replace Command Line Parameter

Post by waldo »

Please see attached screen shot. I need to change the last parameter (i.e., 216079 in the screen shot) in the parameters command line string for each iteration of the task. The rest of the command line does not need altered---only the last six digit number with parenthesis needs modified for each iteration. Is it possible to create a user variable prompt to "replace" the 216079 parameter with another 6 digit number and then "run" this task? Thanks. JimC

Capture_Robotask.JPG
Capture_Robotask.JPG (57.36 KiB) Viewed 4713 times
Oleg
Site Admin
Posts: 3010
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Replace Command Line Parameter

Post by Oleg »

You can use some variable for command-line parameter
  • set one value to variable
    run command line
    set another value to variable
    run command line
I see that you already use variable ReportName
Also please note that dot "." is illegal symbol in the variable name
Oleg Yershov
waldo
Posts: 56
Joined: Fri Sep 24, 2004 3:36 am

Re: Replace Command Line Parameter

Post by waldo »

Oleg,
Thanks for the advice. I am confused though. The screen shot command line does run now (i.e., it includes the Report.Name variable). Your comment would imply this should not be the case. Can you explain further?
JimC
Post Reply