lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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?