Jump to content

Run() work in WinXP but not WinME


proyb2
 Share

Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...