Create a log file
- Last UpdatedJul 26, 2024
- 1 minute read
You can log informational messages, warnings, and errors to a text file. If you do not specify this command, the processing status is sent to the Logger. If the file already exists, it is overwritten.
An example command file that logs errors to a file.
.WINDOWMAKERCOMMANDFILE
.VERSION=1
.COMMANDLOGFILE=C:\MyApps\LogFile.Txt
Ensure that the folder MyApps exists. If the folder MyApps does not exist, the log file is not created.