时间:2010-07-26 10:59:24

标签: ruby

2 个答案:

答案 0 :(得分:7)

答案 1 :(得分:1)

这是如何在ruby中打开mspaint

irb>print("mspaint  #{%x{path=c:/image/aj.jpg}}")# 
irb>print("mspaint  #{%x{mspaint a.jpg}}")# this is open your jpg file with mspaint
OR
irb>print("mspaint  #{%x{mspaint c:/image/a.jpg}}")#