proyb2 Posted November 22, 2005 Share Posted November 22, 2005 (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 It been a problem that I wish it would work the first time in WinME Edited November 22, 2005 by proyb2 Link to comment Share on other sites More sharing options...
herewasplato Posted November 22, 2005 Share Posted November 22, 2005 Does "start" work with ME: Run(@ComSpec & " /c " & 'start c:\temp\test1.xls', "", @SW_HIDE) [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
proyb2 Posted November 22, 2005 Author Share Posted November 22, 2005 (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 it seem I could use "command.com /c start test.xls" or "command /c test.xls" in commandline too...thanks for the tip Edited November 22, 2005 by proyb2 Link to comment Share on other sites More sharing options...
proyb2 Posted November 23, 2005 Author Share Posted November 23, 2005 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") Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now