Hi,
I have created a log file and named it as (path)+System.DateTime.Now.ToString(“ddMMyyyyhhmm”)+“.txt”
Now each minute a new logfile gets created. I want to keep the same naming scheme. I want to create a single log file for a single process run and the datetime denotes the time of starting of the process. What can be done?
please use this step inside of file log entry.
System.DateTime.Now.ToString(“ddMMyyyyhhmm”)+“.txt”
but please use the file name as file.txt. so every time it will overwritten and append the new text inside the notepad.