dimanche 6 juillet 2014

How can I get 2 variables from each line of a text file?


Vote count:

0




I have a text file with 2 sets of names separated by a specific character. I want to write a batch file that will set anything before that character to one variable and anything after it to another.

Example: %%a=NCIS Los Angeles, %%b=NCIS.Los.Angeles

Contents of Text File NCIS Los Angeles|NCIS.Los.Angeles New Girl|New.Girl Once Upon a Time|Once.Upon.a.Time Revenge|Revenge Rizzoli and Isles|Rizzoli.and.Isles



asked 35 secs ago






Aucun commentaire:

Enregistrer un commentaire