Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Help regarding using winsystem command
Pranjal Jain
4/30/2008 7:36:00 AM
HI all
I am trying to invoke the system commands by means of Ruby.
I am using the 'winsystem' command for it, but unfortunately it is
giving me the error
as follows :
example.rb:2: undefined method 'winsystem' for
main:Object(NoMethodError)
for the following code :
require 'watir/winClicker'
winsystem ("c: cd ruby")
#winsystem ()
Please help in resolving the error.
Thankx in advance :)
--
Posted via
http://www.ruby-...
.
1 Answer
Roger Pack
4/30/2008 2:56:00 PM
0
just use system, not winsystem
> require 'watir/winClicker'
> winsystem ("c: cd ruby")
> #winsystem ()
>
> Please help in resolving the error.
> Thankx in advance :)
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Help regarding using winsystem command
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