Is it possible to log the output of a serial window in a file?
For uVision2/8051, the command is: SLOG >[>] file See Chapter 5 of the uVision "Getting Started" manual, or the Debug Commands online Help.
The only way I found was to start the target sending data then exit uVision and use a terminal emulator with that capability ( procomm in my case). It seems you need to exit uVision as it doesn't release the serial port when minimized and windows complains that the port is in use. I would be interested if anyone has found a better solution.
Use the slog command in the debugger. This redirects all output from the serial window to a file. Keil Support