Skip to content

Instantly share code, notes, and snippets.

@catdad
Last active January 30, 2016 23:09
Show Gist options
  • Save catdad/f696045b7b4b538f8cf2 to your computer and use it in GitHub Desktop.
Save catdad/f696045b7b4b538f8cf2 to your computer and use it in GitHub Desktop.
// 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