vendredi 14 mars 2014

Tokenize strings in a batch file


Vote count:

0




Suppose I have a file, and I don't know how many words there are in it. I would like to go through this file and echo every word, one at a time. Is there a way to do that? The delim is space and I don't know how many words I will be going through because the file content may change.


For example, if the file contains: "Hello world I hope winter should be over soon"


Then I would like the output to be: "Hello world I hope winter should be over soon"


Thanks in advance!



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire