batch get file text code example Example: how to get text from file bat FOR /F "eol=; tokens=2,3* delims=, " %i in (myfile.txt) do @echo %i %j %k