[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaCOM Word Document opening
- From: Jonathan Goble <jcgoble3@...>
- Date: Sat, 8 Aug 2015 01:41:51 -0400
On Sat, Aug 8, 2015 at 12:50 AM, Milind Gupta <milind.gupta@gmail.com> wrote:
>> word.Documents.Open("D:/1.docx")
I'm not familiar with LuaCOM, but Windows paths use backslashes, so
unless LuaCOM is converting it automatically, you want "D:\\1.docx"
(doubled because you have to escape a literal backslash to prevent it
from being treated as special). Could that be causing the problem?