Jump to content

Recommended Posts

Posted (edited)

using AutoIT v3.1.1.88 (beta)

Run(@ProgramsDir & "\Microsoft Office\OFFICE10\WINWORD.EXE filename.doc")

Run(@ProgramsDir & "\Microsoft Office\OFFICE10\EXCEL.EXE filename.xls")

and

Run(@ProgramsDir & "\Microsoft Office\OFFICE10\POWERPNT.EXE filename.ppt")

of the three, I would get error exception that AutoIT cannot find the path office application B)

It been a problem that I wish it would work the first time in WinME

Edited by proyb2
Posted (edited)

Does "start" work with ME:

Run(@ComSpec & " /c " & 'start c:\temp\test1.xls', "", @SW_HIDE)

erm, would this be possible to work on WinME? since my workplace using WinMe...

and @ComSpec is available on WinME as well? gotta test out the next 5 hours B)

it seem I could use "command.com /c start test.xls" or "command /c test.xls" in commandline too...thanks for the tip

Edited by proyb2
Posted

erm, it is possible to run the command...but how do it support filename with spacing?

Run(@ProgramsDir & "\Microsoft Office\OFFICE10\WINWORD.EXE filename.doc")

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...