I am in need of a batch file to do the following:
for %%cust in (abcde fghij klmno pqrst uvwxy) do command %%cust,XX,YY,%%substringofcust
In order words, the 'command' should be:
command abcde,XX,YY,abc
command fghij,XX,YY,fgh
command klmno,XX,YY,klm
etc..........
I can't figure out how to pull only a portion of the customer