From: "toby.oconnell@..." Date: 2008-02-18T15:25:01+09:00 Subject: Re: how to use ruby run a mp3 file? On Feb 17, 10:02 am, Tim Hunter wrote: > Adam Akhtar wrote: > > Hi im having a problem playing a song. Im basically got this is my file > > > system( "start G:\Itunes_To be imported\02 - Anne Clark - The Power > > Game.mp3") > > > Do you need to escape those backslashes? > > G:\\Itunes etc. > > -- > RMagick:http://rmagick.rubyforge.org/ > RMagick 2:http://rmagick.rubyforge.org/rmagick2.html Or just use single quotes (or %q{start G:\blah.mp3}) rather than double quotes if you don't need to interpolate the string. That will make it easier to read than the extra \'s. irb(main):001:0> %q{start G:\blah.mp3} => "start G:\\blah.mp3"