kaiprt kaiprt - 1 year ago 136
Ruby Question

Ruby: Execute bat file with batch parameters

I am trying to execute a .bat file with ruby and I see I can do that with


However, I would like to pass parameters to this file... is this possible?

Answer Source

Just pass them as you would do it normally.

`path\to\.bat -some=flag another-way`
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download