From: gabriele renzi Date: 2004-06-28T19:32:57+09:00 Subject: Re: How to run ipconfig in W2k? il 28 Jun 2004 03:25:56 -0700, piir@earthlink.net (Todd Gardner) ha scritto:: >Hello Everyone, > >Or for that matter, how can I run a given command as if I entered it >into the DOS window? C:\Documents and Settings\gabriele>irb irb(main):001:0> str= `ipconfig` => "\r\nConfigurazione IP di Windows\r\n\r\n\r\nScheda Ethernet Connessione alla rete locale (LAN) 3:\r\n\r\n Suffisso DNS specifico per connessione: \r\ n Indirizzo IP. . . . . . . . . . . . . : 10.0.0.1\r\n Subnet mask . . . . . . . . . . . . . : 255.255.255.0\r\n Gateway predefinito . . . .. . . . . . : 10.0.0.2\r\n" Or IO.popen. Or system()