Hi Jeb,
Your sample is correct. I followed it and it worked.
Thanks.
Search found 3 matches
- 19 Mar 2015 19:35
- Forum: DOS Batch Forum
- Topic: for /F "tokens=1-11
- Replies: 3
- Views: 3465
- 19 Mar 2015 19:24
- Forum: DOS Batch Forum
- Topic: for /F "tokens=1-11
- Replies: 3
- Views: 3465
Re: for /F "tokens=1-11
Hi Jeb, Thanks for the reply. Below is my text file: 80000001,SAMPLE ACCOUNT 1,SAMPLE 1,Y,A02,R,CUS3,A1000-0005,HKD,A1000-0010,A1000-0005 80000002,SAMPLE ACCOUNT 2,SAMPLE 2,Y,A03,,,,,2,3 80000003,SAMPLE ACCOUNT 3,SAMPLE 3,N,A04,,,,,4,5 80000004,SAMPLE ACCOUNT 4,SAMPLE 4,Y,A05,R,,,,6,7 80000005,SAMPL...
- 19 Mar 2015 02:58
- Forum: DOS Batch Forum
- Topic: for /F "tokens=1-11
- Replies: 3
- Views: 3465
for /F "tokens=1-11
Hi guys, I'm new on this forum and glad to have found like this. Got problem on my batch file with 11 parameters. My text file has 11 columns delimited by comma. When I echo the batch file it does not give me the correct result especially on the 10th and 11th column. Here is my code: for /F "to...