Quantcast
Viewing all articles
Browse latest Browse all 1683

Documentation: Errors in CSV Example

There are two small errors in the CSV example on web page An Introduction to the TCC Command Language and Batch Files pertaining to the statement:

set email=%@field[",",3,%record] echo %email

(1) To pull out the email from the CSV data just above the code, you need to reference field 2, not field 3.

(2) There are two statements on a single line here, which doesn't work. The %+ statement separator is missing.

Thus, the line should be:

set email=%@field[",",2,%record] %+...

Read more

Viewing all articles
Browse latest Browse all 1683

Trending Articles