From: Michael W Ryder Date: 2010-03-16T04:00:12+09:00 Subject: Re: Dir.glob problem David Vlad wrote: > In the program Im making I need to read some wma files into a variable > and I did like this: > > songs = Dir.glob("C:\\Users\\Public\\Music\\Sample Music\\*.wma") > > Note that this is NOT the wrong directory, I've copy pasted it from the > map itself and also the files are wma and nothing else. My programming > teacher has no idea why this dosnt work and the other ppl I've talked > with dosnt know either. Most said something like "aside from a simple > mistake like wrong directory/extension, I don't know what could be going > wrong." So now this forum is my last resort, why on earth dosnt this > work?! Looking at the source code for Dir it looks like it should accept the above directory separators if the macro DOSISH is defined. Where is this defined? It looks like it is part of the build process so I would assume it would be defined if building for a Windows platform.