Top > Ruby [2.2.2] > 絶対パスを取得(GetAbsolutePathName)
def get_absolute_path filename fso = WIN32OLE.new('Scripting.FileSystemObject') return fso.GetAbsolutePathName(filename) end