Community
Hi,
I want to delete the already created log file.
Below is the code I am using for writing the log file.
Dim
LogFile AsUser = openFile(ProjectLocation() + "\Output\" + "log.txt",:WriteAppend)
Dim a AsAny = write (ErrTxt,LogFile)
Return closeFile (LogFile)
Thanks,
Santosh
After the file is closed, the following will delete it.
system.io.file.delete(ProjectLocation() + "\Output\" + "log.txt")
Thanks,