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

Reply via email to