"Hal E. Fulton" <hal9000 / hypermetrics.com> writes:

> >    test.rb:1: command not found: dir

Under NT, %x{cmd /c dir} works.

The reason is that some DOS commands (such as 'dir' are implemented
within the command interpreter, rather than as external programs.

Regards


Dave