lua-users home
lua-l archive

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

--- Shmuel Zeigerman <> wrote:

> > Not necessarily, forward slashes are OK in NT:
> > 
> >     local fh ="E:/temp/SomeTestFile.txt",
> "w")
> >     fh:write("Simple test string\n")
> >     fh:close()
> This is only partially true. Try "dir E:/temp" or
> "cd E:/temp".
That is a problem of the cmd shell where "/" is used
as "-" in unix, for backward compatability of DOS.

If memory serve, "e:/temp/..." works even in the old
DOS days, not in the shell but system call.

Got a little couch potato? 
Check out fun summer activities for kids.