According to
https://msdn.microsoft.com/en-us/library…s.85).aspx
Quote:Do not use the following reserved names for the name of a file:
CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. Also avoid these names followed immediately by an extension; for example, NUL.txt
You’re not to use any of these reserved names as filenames.
It says “avoid these names followed immediately by an extension”
So kodi creating files like nul.*.ext should be fine. However, once created users can’t manipulate them, copy/edit/move/delete.
From what I can tell it seems that if a reserved name is the first part of a filename and immediately followed by ‘.’ windows has problems with that file.
Windows won’t even allow a file like prn.*.ext to be created, although it will create nul.*.ext, con.*.ext and a few others.
Right now xbmc.makeLegalFilename() wouldn’t have a problem with nul.*.ext
not a big issue but i think it needs to be changed to fix a filename that has a windows reserved name followed by ‘.’