Hi all,
I have the following problem both Win2K and Win98SE:
On the Win2K box the following line works fine (and echoes the name of
the host)
puts `hostname`
But other commands like "dir", "cd" and the like don't work... What I
get is, eg.:
C:\script.rb:1: command not found: dir
with "script.rb" containing the line:
puts `dir
Strangely
puts `dir *`
doesn't complain about missing commands - but doesn't work either (that
is nothing returned).
FYI, I'm using the Windows installation kit for 1.6.4 (ruby164-1.exe)
from the pragmatic programmers (Thanks a lot, Dave & Andy!).
Any help and/or ideas.
I'd really like to use those to get some scripts going.
TIA and happy rubying!
Stephan