I can run wbadmin from the command line like this:
$ c:\windows\system32\wbadmin.exe -?
And it works (I get a proper help message, ellided here). However, when I try it in Ruby (as in this IRB session:)
irb(main):001:0> w=IO.popen('c:\windows\system32\wbadmin.exe -?')
I get the following error:
Errno::ENOENT: No such file or directory - c:\windows\system32\wbadmin.exe -?
from (irb):1:in `popen'
from (irb):1
from C:/Ruby193/bin/irb:12:in `<main>'
This is preventing me from ever running wbadmin like this.
Any ideas why?