There can be some big trouble here. That you can create an LPT1 file is ominous and a bad sign. LPT1 is a reserved name on Win 10 and a file with that name cannot be created, because that name is reserved for a device. On Win10:
C:>echo "asdf" >LPT1
The system cannot find the file specified.