From: "Bennett, Patrick" Date: 2003-10-03T07:49:25+09:00 Subject: Re: Strange Win32 ARGV problem I'll re-post my message then, as you clearly didn't read it. :( Ruby *does* perform wildcard expansion w/ win32, but only sometimes, and to make matters worse it is also munging the argv list and combining multiple arguments into a single argv element. -----Original Message----- From: Austin Ziegler [mailto:austin@halostatue.ca] Sent: Thursday, October 02, 2003 5:37 PM To: ruby-talk ML Subject: Re: Strange Win32 ARGV problem Patrick: please note that you are apparently HTML format messages, which makes it hard to read what you have written. (This is why I haven't quoted anything from you -- the formatting was too badly messed up.) In answer to your question, you have been bitten by a significant difference between the way that Unix and Windows command lines work. When you do a "*" in Unix, the SHELL (bash, zsh, etc.) expands the directory entries for you ... even if you don't want it to do so.[1] On Windows, however, that responsibility lies exclusively with the program. In Windows, you'll need to use the patterns you have been given with the Dir#[] method. -austin -- austin ziegler * austin@halostatue.ca * Toronto, ON, Canada software designer * pragmatic programmer * 2003.10.02 * 18.32.04