If you used a form to ask for a folder path, use the expression NodeWebkit.ChosenPath & "YOUSHOULDNTHAVEDONETHAT.txt" just after
If you used a form to ask for a file saving, I guess you should use the expression NodeWebkit.ChosenPath just after
NodeWebkit.AppFolder & "YOUSHOULDNTHAVEDONETHAT.txt" should create the file in the same directory as the application
I didn't used it myself though
If you want to create a file from a game, it should be in the users documents (or a subfolder), or in the application folder (or subfolders), If the file can be created somewhere else, I think you may ask the user where, Games don't really need to create files outside these boundaries in generalAphrodite2013-05-18 00:57:22
And that is why you shall respect the bug reports guidelines, not only giving a capx is making the bug reproductible in one click in a situation they can work with (less time wasted trying to reproduce vague instructions) but also it helps filtering false positives.
Game design is all about decomposing the core of your game so it becomes simple instructions.