I want to delete the already created log file.
Below is the code I am using for writing the log file.
LogFile AsUser = openFile(ProjectLocation() + "\Output\" + "log.txt",:WriteAppend)
Dim a AsAny = write (ErrTxt,LogFile)
Return closeFile (LogFile)
After the file is closed, the following will delete it.
system.io.file.delete(ProjectLocation() + "\Output\" + "log.txt")
Access a broad range of knowledge to help get the most out of your products and services.