How do you load information from a .txt file in batch?
问题 So I have been doing some small batch programs lately but I can't manage to make the batch file load information. This is how i would do it. :load_game ) set /p something= ) > something.txt In the txt file: something_is_awesome That is it^^ If i remember it right that is how you SAVE a file... now how do you LOAD it in a similar way? Note: I would like to do multiple at once! 回答1: to WRITE a line to a file use echo my_information>something.txt (overwriting) to READ a line from a file use set