Txt Editing and Retrieving in Batch

January 8, 2012 at 23:31:44
Specs: Windows XP
How do I make a batch file that editing certain lines of a .txt file and can set certain lines as variables?

I have got as far as making usernames and passwords but I need their account to store more info (e.g. admin status, score, etc...)

See More: Txt Editing and Retrieving in Batch

Report •

January 10, 2012 at 07:34:25
Please clarify your question. If I were going to set a line as a variable, I would probably findstr that line into a tmp file (tmp.tmp), and then load the contents of the file into a variable like this:

set /p myvar=<tmp.tmp

Report •
Related Solutions

Ask Question