Sorry - should have checked version your using. It has recently changed for Beta 2.0
Try : <path to OOo install>\program\soffice.exe -o <path to file>\file.xls This assumes that you have file associations sorted so that .xls files are opened using calc by default. /paul On 5/17/05, Bryce Stenberg <[EMAIL PROTECTED]> wrote: > Hi Paul, > > I tried that but doesn't work - 'scalc' does not exist as an executable > program. > The only references to something called scalc are in the <path to OOo > install>\help\en: > 28/10/2004 01:10 a.m. 183 scalc.cfg > 28/10/2004 01:10 a.m. 925,696 scalc.db > 28/10/2004 01:10 a.m. 704,512 scalc.ht > 17/05/2005 10:29 a.m. <DIR> scalc.idx > 28/10/2004 01:10 a.m. 451,303 scalc.jar > 28/10/2004 01:10 a.m. 270,336 scalc.key > 28/10/2004 01:10 a.m. 12,822 scalc.tree > > The only reference to anything with calc in name under program is > 'calc645mi.dll'. > I'm using Windows XP with OpenOffice 1.1.4. > Any suggestions? > > Thanks, > Bryce Stenberg > HRNZ IT Department. > > "Paul" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > Try : > <path to OOo install>\program\scalc <path to file>\file.xls > > Worked for me on winxp, 1.9.95 > /paul > > On 5/17/05, Bryce Stenberg <[EMAIL PROTECTED]> wrote: > > Hi, > > > > We are evaluating changing about 20 desktops from MS Office 2000 to > > OpenOffice but have one particular problem... > > > > Our database application lets users pick Excel as the output for a print > > job. > > A tab delimited file is generated with an extension of '.xls'. > > This file is then 'started' - the default action is that it will open in > > Excel - with command line like: > > start MyFile.xls > > Because of the xls extension this opened in Excel. > > > > With OpenOffice installed this command always opens the file as a text > > document. > > > > ** Is there any way to make a tab delimited or comma delimited file open > > directly in calc from the command line? (eg. can I give it a special > > file name extension or some flag on open command line to force it?) > > > > I've read similar previous posts and the only way I could see suggested > > was > > opening Calc and then choosing to open the file manually - this will not > > work for us - we need it to open directly when called by the application > > program or from command line. > > > > Thanks, > > Bryce Stenberg > > HRNZ IT Department. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
