Ruby lib to make a net use connection

Can someone point me to a Win32 module that can do net use commands from
ruby?
I.E net use \\machine_name , but programatically

Tristin Davis wrote:

Can someone point me to a Win32 module that can do net use commands from
ruby?
I.E net use \\machine_name , but programatically

There are some ssh gems and alike on gems repos, if that's what you are
looking for.
Just typing "gem search -r net" on a console would show some gems that
would fit

Anyway you can use any windows command on ruby with system I.E system
'net use \\machine_name'

Hope it helps

···

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

I'm not looking for anything ssh. :slight_smile: I'm trying to stay away from using
system, but I will if i absolutly must.

···

On Wed, Jun 18, 2008 at 6:41 PM, Simon Blanco <cowkiller123@gmail.com> wrote:

Tristin Davis wrote:
> Can someone point me to a Win32 module that can do net use commands from
> ruby?
> I.E net use \\machine_name , but programatically

There are some ssh gems and alike on gems repos, if that's what you are
looking for.
Just typing "gem search -r net" on a console would show some gems that
would fit

Anyway you can use any windows command on ruby with system I.E system
'net use \\machine_name'

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