diff --git a/doc/api/fs.md b/doc/api/fs.md index 8ae521a0d2dd1a..5361f06f209904 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -94,6 +94,12 @@ Error: EISDIR: illegal operation on a directory, read ``` +*Note:* On Windows Node.js follows the concept of per-drive working directory. +This behavior can be observed when using a drive path without a backslash. For +example `fs.readdirSync('c:\\')` can potentially return a different result than +`fs.readdirSync('c:')`. For more information, see +[this MSDN page][MSDN-Rel-Path]. + ## WHATWG URL object support