hey does anyone know if flash can write a text file like it can read from one?

i'm creating a stand alone exe where I want the user to enter varibles that can be retrieved the next time the exe is launched. is it only possible through the web and a data base?