I don't know if this has been asked before, but I would very much like an answer or a link of a similar question.

I want to make a sort of storage batch file, once you type in an input, say, "English Lit Coursework", it saves it to a txt file. Then the program checks computer time and alerts me a few days before "English Lit Coursework" is due.

Once I finish the assignment, I just delete the "English Lit Coursework" entry, or make code that does that. 

My question is, how can I get user input to rewrite/create (if not available) a .txt file, then read it?