Did you try:

wd 'winexec "C:\Program Files (x86)\Microsoft Office\OFFICE11\winword.exe"
"d:\aaaa_temp\test winword.doc"'



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of William Szuch
Sent: Sunday, February 10, 2008 19:47
To: J Beta Forun
Subject: [Jbeta] J602 ibeta win64 - winexec and winword

 

The following statement opens WINWORD 

 

wd 'winexec "C:\Program Files (x86)\Microsoft Office\OFFICE11\winword.exe"'

 

 

EXAMPLE 1

=========

The following statement opens WINWORD and a document :
d:\aaaa_temp\test_winword.doc

 

wd 'winexec "C:\Program Files (x86)\Microsoft Office\OFFICE11\winword.exe
d:\aaaa_temp\test_winword.doc "'

 

EXAMPLE 2

=========

 

The following statement opens WINWORD and BUT NOT the document :
d:\aaaa_temp\test winword.doc  NB. Space in name

 

wd 'winexec "C:\Program Files (x86)\Microsoft Office\OFFICE11\winword.exe
d:\aaaa_temp\test winword.doc "'

 

 

I have tried various combinations in using  " but all attempts have failed 

 

Seems to be a problem with spaces.

 

Regards


Bill Szuch



 

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to