Harry Nash wrote:
> I am new to coding, I have tried to place a number of data strings into
> one variable but I am missing something in the format. See example
> below.
> Note each part of the line after = does have a real value, I just
> can't format the string.
> 
> file-link = Dir.pwd, "#{filename}", "#{mp3-title}", "#{mp3-artist}"

You can use + to concatenate strings:

file_link = Dir.pwd + filename + mp3_title + mp3_artist

(Ruby doesn't allow "-" characters in variable names so I changed them 
to underscores.)

If you want blanks between each part, try this:

file_link = Dir.pwd + " " + filename + " " + mp3_title + " " + mp3_artist

or this:

file_link = "#{Dir.pwd} #{filename} #{mp3_title} #{mp3_artist}"

-- 
RMagick: http://rmagick.rubyforge.org/