From: Jason Mayer Date: 2006-11-19T01:50:26+09:00 Subject: newbie: how to script windows commands with ruby? Hi! I've been learning ruby for a little while, but I'm having trouble figuring out how to do this (and I must be using the wrong keywords in my google search). I do tech support, and I'm looking to automate some basic troubleshooting over a web interface for my coworkers and new hires. What I'd like to do is script the windows ping command and scrape the results. Anyone know where I can find good references on this? So I guess my question could be clarified as How do I script windows command line commands via ruby (I understand that in linux I could just use `ping xxx`)? The second question would be 'How do I scrape the output of a windows cmd.exe command and use it in the rest of my script?' Thanks in advance!