Rotate output files.
The files specified by AppStdout and AppStderr can now be rotated prior
to launching the application. An existing file will be renamed with a
new suffix based on its last write time, to millisecond precision.
Rotation is controlled independently of the CreateFile() arguments used
when opening the files for writing. It is possible to configure
rotation regardless of whether existing files would be appended or
replaced.
Four new REG_DWORD entries control how rotation happens.
If AppRotateFiles is 0 or missing, rotation is disabled.
If AppRotateSeconds is non-zero, a file will not be rotated if its last
write time is less than the given number of seconds in the past.
If AppRotateBytes is non-zero, a file will not be rotated if it is
smaller than the given number of bytes.
64-bit file sizes can be handled by specifying a high order part in
AppRotateBytesHigh.
Thanks Doug Watson.