On Jan 20, 2006, at 7:52 AM, Matthew John wrote:

> Hi All,
>
> How do I find out which directory my ruby script was run from?
>
> Thanks Matthew John
> p.s Today I'm using Windows

Try:

File.dirname($PROGRAM_NAME)

James Edward Gray II