willwatters Posted October 21, 2004 Share Posted October 21, 2004 How do you start MS Office (D:\documents and settings\All Users\Start Menu\Microsoft Office.lnk) Thanks Link to comment Share on other sites More sharing options...
MHz Posted October 21, 2004 Share Posted October 21, 2004 Run(@ProgramFilesDir & '\Microsoft Office\Office10\WINWORD.exe', @ProgramFilesDir & '\Microsoft Office\Office10') Run ( "filename" [, "workingdir" [, flag]] ) Something like this should do it. You may need to edit it to your location of office. Link to comment Share on other sites More sharing options...
Chris_1013 Posted October 21, 2004 Share Posted October 21, 2004 If you want to be lazy... $shortcut = FileGetShortCut("D:\documents and settings\All Users\Start Menu\Microsoft Office.lnk") Run($shortcut[0],$shortcut[1]) 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