Skip to content
Advertisement

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.

Advertisement

Answer

Just shell out to explorer with the desired folder.

Advertisement