diff --git a/red/storage/localfilesystem.js b/red/storage/localfilesystem.js index cc8b676da..c758ecd0e 100644 --- a/red/storage/localfilesystem.js +++ b/red/storage/localfilesystem.js @@ -138,8 +138,8 @@ var localfilesystem = { if (settings.flowFile) { flowsFile = settings.flowFile; - - if (flowsFile[0] == "/") { + // handle Unix and Windows "C:\" + if ((flowsFile[0] == "/") || (flowsFile[1] == ":")) { // Absolute path flowsFullPath = flowsFile; } else if (flowsFile.substring(0,2) === "./") {