Ruby lib to make a net use connection

T

Tristin Davis

[Note: parts of this message were removed to make it a legal post.]

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

Simon Blanco

Tristin said:
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
 
T

Tristin Davis

[Note: parts of this message were removed to make it a legal post.]

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,666
Latest member
selsetu

Latest Threads

Top