From: Austin Ziegler Date: 2004-01-11T06:50:42+09:00 Subject: Re: Ruby 1.8.0 bugs on Dir On Sun, 11 Jan 2004 03:36:41 +0900, GGarramuno wrote: >> "The current directory on ruby mswin32" is in C:? So it just works as >> like as "dir C:" does. >> >> What do you expect? > The command should indeed work as the msdos dir command, listing the > contents of the C: drive. Yet, it does not. > Passing the String "C:" to it lists not the contents of the C: drive but > the contents of the current directory in my mswin32 version of ruby. > Only if I pass "C:/" will it list the right directory. > The same version of ruby,on cygwin, works as it should, listing the > contents of C: when "C:" or "C:/" is passed to it. It does: C:\home>dir c: Volume in drive C is Portable Directory of C:\home C:\home>dir c:\ Volume in drive C is Portable Directory of c:\ -austin -- austin ziegler * austin@halostatue.ca * Toronto, ON, Canada software designer * pragmatic programmer * 2004.01.10 * 16.48.43