--- Chris Morris <chrismo / homemail.com> wrote: > > This is what I get from command line: > > > > C:\>ruby -e'puts Dir.pwd' > > /cygdrive/c > > > > C:\>ruby -e'puts `cmd.exe /c cd`' > > C:\ > > > > Shouldn't these agree? Also I have no directory > \cygdrive. > > cygwin is a compatibility layer that allows the > unix-ish stuff of Ruby to > run on Windows. So cygwin 'unix-izes' your drives by > prefixing them with > /cygdrive/, then the drive letter without a colon. > What version of Cygwin are you testing on? On mine (1.3.5-1), it looks like this: $ ruby -e'puts Dir.pwd' /home Chad __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com