Skip to content

Open a folder window using explorer.exe or finder using node js

I was wondering if there was a way to open a folder location via node js. I found this library but it only opens files and URLs.

Edit: Fuser’s answer put me on the right track and I found this:

http://documentup.com/arturadib/shelljs

Either his method or this will both work.

Answer

Just shell out to explore with the desired folder.