Ok. I get it now. And thanks for both solutions offered. Guess it's useful in cases like the socket.io implementation where you wish to link some client-side libraries in the path.
On Sun, May 27, 2012 at 11:10 AM, mscdex <msc...@gmail.com> wrote: > On May 26, 11:33 pm, Anand George <mranandgeo...@gmail.com> wrote: > > Next run app.js and the console logs > > > > /home/anand/node/Testing/dirpath > > I think he wants the path of app.js from the module, so: '/home/anand/ > node/Testing/pathtest' is what he is expecting. > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en > -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en