lua-users home
lua-l archive

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



On Aug 8, 2015 1:42 AM, "Jonathan Goble" <jcgoble3@gmail.com> wrote:
>
> 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?
>

Windows will accept forward slashes as well, unless something funny is going on.