Hi! If you feed a path like "C:\dir\file" (instead of the correct "C:\\dir\\file) exists() will return false, but if you open() it for writing and write to it no error will be reported! Again the question is wheter the problem lies within file.js or some C++ code. Masi