On Feb 17, 10:02=A0am, Tim Hunter
> 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}
=3D> "start G:\\blah.mp3"