cancel
Showing results for 
Search instead for 
Did you mean: 

Answering prompts in command scripts

Answering prompts in command scripts

Jeff_Creek
New Contributor
Attempting to cancel reset through a command script. Although this issue could potentially happen when answering any yes/no prompt. Script: set length 0 reset cancel @receive 2 @key y @endofline crlf show reset exit Result: K6(su)->set length 0 K6(su)->reset cancel This command will cancel 1 scheduled reset. Do you want to continue (y/n) ?yshow K6(su)-> K6(su)->
5 REPLIES 5

Jeff_Creek
New Contributor
Update: If I change the script to: set length 0 reset cancel @receive 2 @key y @endofline crlf exit Result: K6(su)->set length 0 K6(su)->reset cancel This command will cancel 1 scheduled reset. Do you want to continue (y/n) ?yexit K6(su)-> K6(su)->
GTM-P2G8KFN