Wrong. This gets you the directory you are currently in, your current working dir. If I do /Users/sporty/t.pl, and I'm in /Applications, I'd get /Applications, not /Users/sporty/t.pl
Play that funky music white boy..
Comment on Re: Re: how to get the current folder name where the program is running?