Split a string in .cmd batch file

Posted by krrishbiju-15589 under Error and Solution on 7/24/2013 | Points: 10 | Views : 2410 | Status : [Member] | Replies : 2

Hi,
Please help me on this,

I have one string "AA, BB, CC, DD" and want to split it by using comas(,) and want to store in array.
and then pass each splited string to an exe.
How do we can do in .cmd batch scripts.
Thanks
krrish




Responses

Posted by: Brahmam on: 7/25/2013 [Member] Starter | Points: 25

Up
0
Down
check this url
http://stackoverflow.com/questions/15851886/remove-substring-from-a-string-split-the-result-and-store-it-in-an-array

brahmam

krrishbiju-15589, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: aswinialuri-19361 on: 7/25/2013 [Member] Starter | Points: 25

Up
0
Down

hi,
Refer this link it might be help full you
http://msdn.microsoft.com/en-us/library/ms228388.aspx

Mark as Answer if it helps you
Thanks&Regards
Aswini Aluri

krrishbiju-15589, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response