<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2719.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>True. Although you can use the 8.3 form of the long file name
and it will work:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>open process "c:/program files/Microsoft
Office/Office10/Winword.exe c:/myfil~1</FONT><FONT face=Arial
size=2>.doc"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT size=2>Ken Ray<BR>Sons of Thunder Software<BR>Email: <A
href="mailto:kray@sonsothunder.com">kray@sonsothunder.com</A><BR>Web Site: <A
href="http://www.sonsothunder.com/">http://www.sonsothunder.com/</A></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=PEChumbley@aol.com
href="mailto:PEChumbley@aol.com">PEChumbley@aol.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=metacard@lists.runrev.com
href="mailto:metacard@lists.runrev.com">metacard@lists.runrev.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, September 10, 2002 2:54
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Launch MS Word</DIV>
<DIV><BR></DIV><FONT face=arial,helvetica><FONT size=2>Thanks Ken,<BR><BR>The
open process works except I found a problem which may also have been my
problem earlier. I discovered that if I have a space in the path to the
document, I get an error message. In this case MS Word opens but I get a
dialog box saying the file name or path is invalid. For example, if the
file is named "myfile.doc" this statements works:<BR><BR>open process
"c:/program files/Microsoft Office/Office10/Winword.exe
c:/myfile.doc"<BR><BR>If, however, the document name is "my file.doc" and I
try:<BR><BR>open process "c:/program files/Microsoft
Office/Office10/Winword.exe c:/my file.doc"<BR><BR>it does NOT work. I
get the error message instead. Maybe Scott will know why it doesn't work
if there is a space in the name. I am using MC
2.4.3.<BR><BR>Philip<BR><BR><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px"
TYPE="CITE">Philip,<BR><BR>Try using "open process" instead; using the
syntax:<BR><BR> open process <appPathWithParams><BR><BR>where
<appPathWithParams> is a quoted string with two parts: the path to
the<BR>application, a space, and then the path to the document. For example,
to<BR>load up Word with a doc on C: called "test.doc", you would do
this:<BR><BR> open process "c:/program files/Microsoft
Office/Office10/Winword.exe<BR>c:/test.doc"<BR><BR>Not only does this launch
it, but you can then "control" the process from<BR>MetaCard if you wish
(check out openProcesses, kill, etc.).<BR><BR>Ken Ray<BR>Sons of Thunder
Software<BR>Email: kray@sonsothunder.com<BR>Web Site:
http://www.sonsothunder.com/</BLOCKQUOTE><BR><BR></BLOCKQUOTE></FONT></FONT></BODY></HTML>