Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Ruby lib to make a net use connection
Tristin Davis
6/18/2008 9:45:00 PM
[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
2 Answers
Simon Blanco
6/18/2008 11:41:00 PM
0
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-...
.
Tristin Davis
6/18/2008 11:47:00 PM
0
[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.
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-...
.
>
>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Ruby lib to make a net use connection
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password