from a Linux PC with ext3/4 partition or from the internal memory of your smartphone), know that there are a couple of ways to delete these elements. If for any reason you find yourself having to handle a file of this type, maybe copied from other file systems (eg. LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9Īlso avoid these names followed immediately by an extension for example, NUL.txt is not recommended.
Infact, as stated in this Microsoft article, during files/folders creation in Windows filesystem you should not use the following reserved names:ĬOM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9 One reason for the “ Invalid file handle” error in Windows when deleting a file is that a reserved name is used for its name.