Open an explorer window

Does anyone know how to open a windows explorer window with Ruby?

What I want to do is to open up the folder in which I just copied some
files.

any ideas would be very helpful.

···

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

Hi Bob,

Would this work?

system("explorer c:")

Rgds,
T.J.

···

On Thu, Oct 29, 2009 at 12:06 PM, Bob Smyph <eric.ramsey@cbc-companies.com>wrote:

Does anyone know how to open a windows explorer window with Ruby?

What I want to do is to open up the folder in which I just copied some
files.

any ideas would be very helpful.
--
Posted via http://www.ruby-forum.com/\.

You could also use:
system("start C:\somepath")

···

On Thu, Oct 29, 2009 at 8:15 AM, T.J. Sheehy <timsheehy@gmail.com> wrote:

Hi Bob,

Would this work?

system("explorer c:")

Rgds,
T.J.

On Thu, Oct 29, 2009 at 12:06 PM, Bob Smyph > <eric.ramsey@cbc-companies.com>wrote:

> Does anyone know how to open a windows explorer window with Ruby?
>
> What I want to do is to open up the folder in which I just copied some
> files.
>
> any ideas would be very helpful.
> --
> Posted via http://www.ruby-forum.com/\.
>
>

Shawn Anderson wrote:

You could also use:
system("start C:\somepath")

Thanks,this works

···

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