1

Say I use NW.js to get a native html/css/javascript app working. How would I use javascript to edit the folder contents of directories on the user system when they drag and drop in a folder, to read and write in files?

And then write to command line to command it to do something?

  • You'll need to leverage Node.js, which should already be baked into NW.js (Node-Webkit.js) – ndugger Dec 13 '15 at 18:48
  • @ndugger Hey, thanks for writing. How would Node.js go about it? It's a completely offline app so I'm wondering if that might be a problem. – Joshua Tabansi Dec 13 '15 at 19:04
  • Node has a filesystem API that you can use to read/write files. Check out the [documentation](https://nodejs.org/dist/latest-v5.x/docs/api/fs.html) for more details. – ndugger Dec 13 '15 at 21:58

0 Answers0