Get console path in node.js

I'm working on a console application for node.js and I need a little help. If you install my console app using 'npm', you'll be able to call it by typing 'program' but if my console is in the location C:/Users/JhonDoe/Documents how do I get that location in nodejs. I know how to get the script location (eg. C:/Program Files/nodejs/node_modules/program/bin) but how to I get the location in the console. To clarify my aim; I need to get a file inside the folder their currently in so I need to know the folder their calling my application from.
Thank You,
@_C1D

process.cwd() gives the current working directory of the process.