Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Actually you can use CON as a filename in Windows, you just have to use the right API. The command:

    type CON > "\\?\C:\CON"
will create a file named CON. https://docs.microsoft.com/en-us/windows/win32/fileio/naming... has some details about this.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: