From: Ben Tilly Date: 2001-01-23T09:51:47+09:00 Subject: [ruby-talk:9742] Re: Workaround for Windows backquote problem ptkwt@user2.teleport.com (Phil Tomson) wrote: > >First a little background: > >If you're running Ruby on Windows the following will not work: >version = `ver` >#or: >dircontents = `dir` #of course there are better ways to do this anyway >You get some error about the command not being found. >[BTW: This isn't an issue on Perl, anybody know why? seems like we could >get the same behaviour in Ruby.] [...] At one point what Perl did is use command.com on both 9x and NT. This mostly worked, but with occasional gotchas. The strategy might have changed by now. If you want a definitive answer I suggest sending email to ActiveState. Cheers, Ben _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com