Create a new file everyday


I need to create a text file everyday. so the first time the process is run each day i want it to create a new text file. how can i make such a sequence?

Check if the file already existed.
If yes → create file
If not → do nothing
The file name should contains date info (e.g. AutoData_yyyymmdd.txt)

sounds like a really good idea!
lets say i was using a write text file to make my new text file for the day.
in the file name section what can I write to make todays date appear at the end of the name?

strFileName = “YourFileName_” + DateTime.Now.ToString(“yyyyMMdd”) + “.txt”

@dvn was your question resolved with my suggestion?