Quote:
Originally Posted by cgcamal
Hi everyone,
Iīve been trying to launch an office document from UNIX emulator (UWIN and Cygwin) in similar way
like Iīve done in DOS in order to give continuity to one some process that begins with a unix script.
I sent the following line in UWIN and Cygwin:
Code:
"/C/Program Files/Microsoft Office/Office12/EXCEL.EXE" #This launches Excel in UWIN but not in Cygwin
But when I,ve tryed to open an Excel document in UWIN with the line:
Code:
"/C/Program Files/Microsoft Office/Office12/EXCEL.EXE" "/C/Documents and Settings/Files/MyFile.xls"
I get an error saying that I have to verify the file.
Somebody knows how to do what I looking for? Itīs possible?
Thanks in advance for any suggestion
Best regards
|
Excel will not understand path like this:
"/C/Documents and Settings/Files/MyFile.xls". "/" or "\" normally mean top-level directory of current harddrive, and it doesn't have "C" folder.
Make it into standard:
"C:\Documents and Settings\Files\MyFile.xls" or
"C:/Documents and Settings/Files/MyFile.xls" (slashes instead of backslashes should be fine)