Last active
January 30, 2016 23:09
-
-
Save catdad/f696045b7b4b538f8cf2 to your computer and use it in GitHub Desktop.
Windows device names: https://support.microsoft.com/en-us/kb/74496
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Name Function | |
// ---- -------- | |
// CON Keyboard and display | |
// PRN System list device, usually a parallel port | |
// AUX Auxiliary device, usually a serial port | |
// CLOCK$ System real-time clock | |
// NUL Bit-bucket device | |
// A:-Z: Drive letters | |
// COM1 First serial communications port | |
// LPT1 First parallel printer port | |
// LPT2 Second parallel printer port | |
// LPT3 Third parallel printer port | |
// COM2 Second serial communications port | |
// COM3 Third serial communications port | |
// COM4 Fourth serial communications port | |
var fs = require('fs'); | |
var stream = fs.createWriteStream('\/\/.\/CON'); | |
stream.write('sadgsad'); | |
stream.end(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment