File name was being rejected.

KB-20191022-01

Version

XFRX 19.0

Symptoms

Return value of SetParams() is -19, error mesage is "File name (%1) not is valid.".

Cause

The file name starts with windows reserved file such as CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9.

Workaround

Add some character(s) at the beginning of the file name.