You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Marcono1234 (Jira)" <ji...@apache.org> on 2022/05/01 01:25:00 UTC

[jira] [Created] (IO-768) Add reserved Windows file names CONIN$ and CONOUT$ to FileSystem

Marcono1234 created IO-768:
------------------------------

             Summary: Add reserved Windows file names CONIN$ and CONOUT$ to FileSystem
                 Key: IO-768
                 URL: https://issues.apache.org/jira/browse/IO-768
             Project: Commons IO
          Issue Type: Improvement
    Affects Versions: 2.11.0
            Reporter: Marcono1234


The file names {{CONIN$}} and {{CONOUT$}} are also reserved on Windows, see https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea#consoles.
Example code:
{code}
jshell> Files.readString(Path.of("CONIN$"))
|  Exception java.io.IOException: Incorrect function
...
{code}

It would be good to add them to {{org.apache.commons.io.FileSystem}}.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)