On Friday, March 28, 2003, 9:55:42 AM, Nick wrote:

> Hi,

> I am wondering if it is possible to write a Ruby script to change the
> directory, inside a Command Prompt window?

> I want to do something like:

> Before:
c:\>>ruby rubychdir.rbw data

> After:
c:\data>>

> Is this just not possible?

Just not possible.  A Ruby program, like any other program, can only
affect the environment of its own process and child processes.

Gavin