require 'win32ole'word=WIN32OLE.new("word.application")word['Visible']=TRUEworddoc=word.documents.add()worddoc.Content.Text="asdf"worddoc.SaveAs "Graph.doc"worddoc.close