diff --git a/doc/api/fs.md b/doc/api/fs.md index 9ee328e6523218..f146918c7421ca 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