Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: finding & launching MS-Excel from java



Alain Ravet wrote:

>Q1/ how to find and  launch the installed MS-Excel on MacOS X?

Run Terminal.app and read 'man open'.

Then use Java to exec() the 'open' command with the full pathname of the
Excel file.  Be sure to use the String[] form of exec(), in case the
pathname has embedded blanks.


>Q2/ how to ..... on other platforms (Windows)?

The rought equivalent to 'open' on Windows is the 'start' command.

The exact command-line differs for W95 vs. NT lineage of the OS.  Read
'help start' in the DOS window.


Or modify example code from BrowserLauncher.  Search the list archives for
recent posts containing "browserlauncher".

  -- GG


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.