Phillip Gawlowski wrote in post #984544:
> On Mon, Feb 28, 2011 at 9:01 PM, Kalman Hazins <kalmanh / gmail.com>
> wrote:
>> No need for funky escaping. Just use single-quotes instead
>>
>> system('explorer.exe C:\your\folder')
>
> Windows happily accepts forward slashes, too:
>
> system "explorer C:/your/folder/path"
>
> --
> Phillip Gawlowski
>
> Though the folk I have met,
> (Ah, how soon!) they forget
> When I've moved on to some other place,
> There may be one or two,
> When I've played and passed through,
> Who'll remember my song or my face.

Thanks to everyone who replied - it's just what I need. I hadn't seen 
the system method before but have just read up on it and it is going to 
be useful in additional features I want to implement.

Cheers

Paul

-- 
Posted via http://www.ruby-forum.com/.