Search found 2 matches

by Surya
28 Jul 2020 10:47
Forum: DOS Batch Forum
Topic: Dynamically load array with variable value
Replies: 3
Views: 3741

Re: Dynamically load array with variable value

Thank u so much for the answer.It closely matches.However let me clarify the confusion.Its been a week am struggling with this.PFB my script for /f "tokens=1-26 delims=," %%a in (File.txt) do ( tabcmd.exe get " %param% " I want the output to be like tabcmd.exe get "? productname=ThisIsProductName&pr...
by Surya
27 Jul 2020 20:18
Forum: DOS Batch Forum
Topic: Dynamically load array with variable value
Replies: 3
Views: 3741

Dynamically load array with variable value

I have a param variable which is dynamic ie.it can have N number of values delimited by spaces.As an example the below param has two values.But it can 3 or 4 values delimted by space.each key value pair will be separated by &.This is basically the syntax of tabcmd get. SET PARAM=productname=%%a&prod...