in reply to Re^3: creating a text file at run time and writing to it.in thread creating a text file at run time and writing to it.